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.
Related
How can SSRS 2005 represent two chart types (i.e., bar and line) on the same chart?
I am trying to create a graph that looks like the professionally crafted image below:
The chart would have one series represented as bar graphs and then two other series represented as overlapping line graphs.
I have the line graphs working as two independent series and I can write my SQL query to return empty values for the months of the bar graph series and empty values for the years on the two line series to prevent overlapping, but I don't see how to specify a chart type per series.
Realistically, can this be done using SSRS? Or simulated visually?
Select the Chart, make sure it is highlighted and the Chart Data box appears to the right of the graph, both of your series should be listed inside the "Values" section. Click the drop down arrow to the right of your Series' value, use the 'Change Chart type' option from here (per series). This will affect only the series you clicked the drop down for :)
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.
I have a barchart which is oriented horizontally. Usually it is ok but if
there are too many items, then it gets all cramped up. So I need to set a
cut off point of say 10 items, after which the remainder will be put on a
new page. Here is an image of the chart....
What I have done so far is to add a List control and specify the Grouping as
=Floor((RowNumber(Nothing)-1)/10)
but it appears that some data is missing as the Dataset returns many rows for
an item and uses Average and other functions to create the items.
There is also a PageBreak property for the chart element and it has a 'BreakLocation'
one selection of which is 'Between', but it doesn't seem to do anything, as there
is no where to specify 'between what' it would make the pagebreak.
Any ideas. I have searched the web and found only 2 references to this, one which
uses the List Item grouping and another which references some sample code from a book
which uses an old version of Visual studio.
Drag a List control on the page, click on it and go to Tablix properties and set it to the same dataset as the chart. Then go to the grouping section and choose 'Group Properties', I added this under 'Row Groups' Click Add under 'Group expressions' and use an expression to group...like =Ceiling(RowNumber(Nothing)/10)
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
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?