How to Format the Labels in a Pie Chart in SSRS 2008 R2 - reporting-services

In my SSRS 2008 R2 Pie Chart I want to display 3 values which are calculated fields in my dataset.
The dataset collects a bunch of stats for call center agents. Among them are ProductiveTime, ExcepctionTime, NonProductiveTime, for, of course, a given time period.
If you think you need a bit more details read this paragraph:
The systems keeps track of each change of status in an agent. For example, on break, lunch, in a meeting, training, etc. Then in my stored procedure I create an additional column that has the category of that status, so, for example, lunch, on break will be NonProductiveTime, and so on. Between the selected time period there will be hundreds of entries logging each time there is a change in status, and how long the status lasts.
So back to the Pie, I am adding the SUM of those 3 values to the Chart Data, each one being a series.
The problem I am having, is that when I select the Series Label Properties and configure the format for the Number, only the first series picks it up. It doesn't make a difference if I do it using the UI or the properties window.
What am I doing wrong?

i had this same issue, if you just use the arrows (little blue arrows at the top of the chart data box) to move the value to the top of the list you can edit the label details/code/expression etc for that series. then just repeat this for all the values you've added.
i'm sure there's a better way but this worked so that's what i did.
It seems that when you are editing a label it is only ever editing the item/value at the top of the list, after you've done your labels then just shuffle them back into the order you wanted them listed

I have found you can get this with formatting the 'Label' property of the collection 'Chart Series Labels'. I have also ran into issues with problems of getting enough info of how to format. I think you can get what you want by some built in 'system syntaxes' used.
Here is an example I used to format the YValue and give me a percent on it's value as well:
#VALY{###,##0} (#PERCENT{p0})
Please see a more inclusive list on this msdn page:
http://msdn.microsoft.com/en-us/library/bb677551.aspx

You can format your series labels by going to property of each labels, First Right click on all series properties and tick "show data labels" and then select first property and press F4a property window will open ->under LABELS--> find fonts you can set here.
You can set other properties also here.

I couldn't figure this one out so I went ahead and created a new stored procedure that gives me the data as rows with two columns: one column for the property and one column for the value.
That way I can use just one series for the chart, and to display as percentage, I found this one to be very useful: http://bipassion.wordpress.com/tag/ssrs-pie-chart/

Looking at the answers above and my latest VS 2015
I used these steps
1- Clicked on the Value in "Chart Data" box
2- Clicked on "Show Data Labels"
3- Press F4 to open the "Properties" window on the side
4- Expand "Label" section in the "Properties" window
5- Change "Label" and "Format" property under Label section in the "Properties" window
6- I got a message box says if I want to change the label property then I have to set "UseValueASLabel" to False

Related

SSRS Line Chart: Adding an Average/Target line to Line Chart

I'm sure I'm missing something obvious but it has so far eluded me.
My current report:
I have a dataset of employees' absences at my company.
It is essentially broken down by department, date and time lost.
I have charted this as below:
The manager is shown their own departments dynamically using a filter on the series group.
By using a report level filter I can cache the dataset overnight for all departments.
My preferred report:
In order to give some context to the data I would really like to add another line showing the same data for the whole organisation.
This data is already captured and I can add that "department" for all users so they get a graph as below (new line in blue with square markers):
The trouble is that I want the extra line to appear completely differently to the existing lines
I don't want the extra line to have markers necessarily
I don't want the extra line to appear in the same legend
I don't want the extra line to have an action (i.e. be clickable)
In my perfect world, there wouldn't even be a line, just a change in background colour above and below where the line would be. I haven't been able to find a pretty example of what I am talking about so instead I have produced this hideous travesty in ms paint:
Any help gratefully received!
Can change all of that information/treatment by modifying the series.
Firstly change the Chart Type of the series to Area
Which gives you something like....
All other settings you mention can be done in the series properties
eg
Right Click Series, Select Properties, Legend, Check the box marked
[Do not show this series in the legend]
Set the Action (in series properties) to None
Set the markers as you want
I have achieved partial success using the StripLines property for the Y Axis:
Screenshot of setting:
I added a Member then changed the BackgroundColor and StripWidth.
The StripWidth determines the height of the shaded area and can be an expression.

SSRS Stop group in tablix being split across printing pages

I have a tablix in SQL REPORTS (SSRS) that has many grouped items.
It fits roughly 3.5 groupped item per page when printnig, however I dont want the groups to be split up over the 2 pages, I want a pagebreak to happen whenever the group needs to be split.
I dont want to have it 1 group per page either, I know there is an option for that.
At the bottom of the report builder, you will see two boxes, Row Groups and Column Groups. Select the Column Groups drop down, click "Advanced Mode" and then in Row groups highlight "Details". In Properties under the "Other" section, select "True" for Keep Together. and save. This should work.
Note: I know this is old hope this helps people starting out though.
Modifying the property Other -> KeepTogether of the outermost row group desired to keep within a single page worked for me using Report Builder 3.
My KeepTogether values for each Row Group
Notice in my example, KeepTogether is false for table1_Group1. I don't want to keep my entire dataset together. Instead I want to keep only individual groupings of that dataset together.
In order to see the Properties panel, enable the Properties checkbox under the Show/Hide section of the View tab of the Ribbon.
My View settings
Probably the best place to start is the group-level KeepTogether property.
Indicates whether to keep all sections of the data region together on
one page.
I have just worked through 3 similar reports that were all suffering this issue.
It was only when I marked the group row AND the detail row to get the report to force a page break and keep the pages together.
Interestingly, I can then set the DETAIL BACK to false and the report still functions correctly. I have no explanation as to why, but this was repeatable.
I am using SQL Server 2016 Report Builder (the red one)
I tried all options about that. When I have a more difficult group, it sometimes happens, that the group will be split across pages. Even though setting "Keep Together" property to True.
My solution is:
don't use multiple rows
use one row with rectangle
to rectangle import TextBoxes and fill them with expression "=Fields!Column.Value"

How to add moving average to Report Builder 2.0 chart

This is driving me nuts. I've looked at all the relevant MSDN tutorials but they talk about 'data field drop zones' and how a 'Add Calculated Series' menu option should be there but it's not, and no screenshot is provided to show what a 'data field drop zone' is. This is the menu I get when I "right-click on a field in the data field drop zone":
The frustrating thing is I know I've seen this calculated series stuff before, but I can't find it again, it's not in the 'Series Properties' dialog that I can see, and I can't find a tutorial showing how to find this feature. I'm guessing you can only have a calculated series on certain chart types, or I don't have some flag turned on or something, but I didn't see that mentioned anywhere.
Can you tell me how I can add a line showing the median of my data to a chart in Report Builder 2.0? I think I can do this by adding a 'Moving Average' via a 'Calculated Series', but I can't find how to add that.
Edit: on a different chart, the 'Add Calculated Series' menu option was available. It was a stacked column chart and the series I right-clicked on was an expression that used RunningValue.
I had to remove the series group (from the 'data field drop zone' on the right side of the chart) so that all I had was 1) a category group (bottom of the chart) and 2) a data series (top of the chart). Then I could right-click on the data series at the top of the chart and 'Add Calculated Series' was a menu option.
I solved it by making the groups as individual series and then a combined series that i set to hidden. I was then able to make the calculated series from the hidden series.

Re-naming chart legend in Access 2007

In an auto-generated chart based on a query (I dragged the chart object onto a blank form to start it), the chart itself is displaying and updating properly, datawise, but I want to change the Legend from reading "SumOfAvgOfield1" and "SumOfAvgOfield2" to regular words suitable for final presentations. But I can't find a way to change it!
I realize this is a late answer, but I was just having a similar issue and figured someone else might benefit from knowing how to get rid of the 'SumOf' labels.
In design view, right click on the chart and select 'Properties'.
Choose the Data tab.
The 'Row Source' field is the one you're going to be interested.
In there you can see various places where it's labeling your data:
Sum() AS [SumOfData]
Just edit the text right in the properties window and you'll be set.
This is WAY late, but here's what I found (Yes we still use office 2007)
Open the form in PivotTable View. Open Property Sheet. Highlight the column you want to change the Legend Caption for. Choose the Captions Tab in the properties window. There you can change the captions for each column.
Had 4 charts on a form. 3 would let me edit the Heading of the Chart, the 4th would not. Read a lot of posts that did not pertain. Noticed the datasheet for the 4th chart was completely empty.
SOLUTION: Clicked on chart until the datasheet appeared. Added mock field headings and mock data to datasheet. I could then click on chart and edit the chart's Heading. You can also highlight and change the color of selected words in the chart's Heading. Very Nice!
Good luck,
Vancer
The SumofAverageOfFiled1, etc is automatically generated. Even if you edit it in the datasheet, it changes back (or at least that is my experience). What I did to get around this is add a Rectangle and fill it with white and size it to cover up the "Sumof" captions. You can Bring to Front the Rectangle. Then you can add text boxes to label the chart's bars to read the way you want them. Drag them over the Rectange and Bring to Front.
Hope this helps.
Everywhere I looked it said just change the Pivot Table to change the Legend Entry.
Well, let me tell you.
First, if you have no Pivot Table that you can see do the following:
go to design view and select the form
right click and hit Properties. Scroll through till you see AllowPivotTableView and select yes.
Now you can go and change the column headers!
This could help
Select xxxxx, yyyyy from zzzz
Chart0.ChartSeriesCollection(0).DisplayName = ![XXXXX]
Chart0.ChartSeriesCollection(1).DisplayName = ![YYYYY]
Was very difficult to me to find a way to do it.

Reporting Services Chart - X-Axis name problem

I have created a chart using a stored procedure which lists totals by name.
However when I create the chart the names only appear for every second element. I have tested this in a table and I get each name correctly.
My first thoughts were that it was a sizing issue, so I considerably increased the size of my chart, but this doesn't make a difference.
Does anyone know what could be causing the problem?
[URL=http://img11.imageshack.us/i/rschart.jpg/][IMG]http://img11.imageshack.us/img11/7191/rschart.
That "VariableAutoInterval" did not work for me, it showed every alternate other label. However the following worked:
In the Axis Properties -> Interval, type 1 : This will show every label. If you type 2, it will show every alternate label and so on.
http://img223.imageshack.us/img223/3118/capturerk.png
Reference : msdn.microsoft.com/en-us/library/bb934393.aspx
I have found the problem. If you go to the properties of the X-Axis in your chart and go to >Interval > VariableAutoInterval and by default this is set to false. Set this to true and it now works.
However there is a problem with formatting as although the labels appear they are displayed slighter off centre of the actual bar elements... this should easily be fixed though.
Thanks for your help!
[URL=http://img230.imageshack.us/i/rschart2.jpg/][IMG]http://img230.imageshack.us/img230/3958/rsc
Ahh you have run into the notorious RS bug that most everyone doesn't notice. No solution to this, however what you can do to display ALL x axis labels is to shorten the categories (or x-axis values to 3-4 letters a piece and display a key).
What I mean about this is in your SQL table of categories add a field called Acronym or something an for a category such as :
SQL SERVER CATEGORY I
In the acronym field make it
SSCI
And in your report instead of using the category field use a much shorter value (the SSCI value). Now next to your report object just create a matrix / table object that displays categories with their acronyms. You do realize that you can use multiple objects in one report that may point to different data sets.
Doing this will display all the X-Axis values, it is all because of the lengths of the categories...
Seems to be working for me. Can you try to export the report to pdf / excel and check the results. Also I am using RS 2005, are you using 2008?