SSRS Line Chart: Adding an Average/Target line to Line Chart - reporting-services

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.

Related

Report Builder can StripLines render on top of chart data?

can horizontal striplines on a column chart render on top of the data? My chart is rendering like this;
but I want the stripLine to be visible over the top of the data columns not below it. I am able to put the dataPoint text that you can see on top, even though i'd rather it be able to render to the right of the bar, but that doesn't seem to be possible either. any help would be great. Seems like some of these things would be pretty straight forward functionality for such a dynamic report builder but im also a layman.
Striplines are always in the background.
I would add a new Series to the Chart, and change the Chart Type to Line. For the value I would point at a Goal column in the datasource. If none is available you can use an expression or hard-code the value.
The sequence of the series controls which is infront of the other. You can drag the series around to reorder them.
My suggestion would be to increase the transparency of the color of the columns. click on chart, click on custom palette color in Properties on the right hand-side and specify level of transparency in the color's options.
P.S. I had the same issue and that's how I solved it.
Contrary to what I am reading here, it is possible to have the stripe lines on the front as well. However, you will need to create another Series specify the top and bottom value dynamically, and adjust the PointWidth to lets say 0.8 or something along those lines.
Alternatively, you can add in a bar graph with a line graph, that should do it as well.

SSRS 2008 Multiple X-Axis Categories - Remove Brackets

I am trying to add multiple X-axis categories to an SSRS 2008 line chart, but by default it is adding these brackets to each additional category. Is there a way to remove these brackets? I am trying to display about 50 data points and it the brackets are causing the data in the categories to be cut off/squished/un-readable. Or if there is a better way of displaying multiple x-axis data. Any help is greatly appreciated! Thanks.
Brackets in question:
http://i44.photobucket.com/albums/f39/sethmo38/SSRSLineChart3_zps348f76b8.jpg
You should be able to just click on the axis X or Y till you see a selected block outline and then click 'delete' on your keyboard and it is removed. If you want to perform operations outside the norm but keep some of the options click properties instead.
The default is pane is Axis Options and you can change 'Category' to 'Scalar' if you want numbers. You set expressions instead of the auto here if you want. If you don't want that but want a custom labeling go to the pane 'Labels' instead. You can hide the labels all together or choose an expression to determine when they are hidden. You may wish to mess with the major and minor tick marks as well. When you want to highly customize an axis you may wish to mess with hiding some of the major marks and potentially turn off the 'Category' axis type and set everything manually. Sorry I can't see your picture at work to be more understanding of your situation so forgive me if I missed something.

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

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

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?