How can I add an average bar to bar chart in SSRS - reporting-services

I have created a report with a bar chart which the boss was so happy with he asked me to add some things to it. One thing I cant seem to figure out is he would like a bar at the end of the report with the average. I suggested adding a calculated series for the average which was promptly shot down. Has anyone created an extra bar at the end of a chart? if so how did you go about doing it?
I am including my query and A screenshot of my chart.
SELECT fcompany, fnnumber, Year, ShipQty, RMAQty, PercentReturned, DPPM
FROM CustomerCalculations

You could add another bar chart on top of the existing chart, off to the right-hand side, using AVG(Fields!DPPM.Value) as the value. This would allow you to make that bar a different color, to differentiate it from the period-grouped bars.

Related

SSRS horizontal range bar with outside label

I'm working in SSRS 2008 range bar. I need to plot the series label out side of the graph like the below fig.
But when i try to plot the label out side of the bar it is displayed left side of the graph. Please help any one
Thanks in advance
My series property window is look like.
The first step is to click on the Chart Series.
Image 1:
In the properties windwos, you should be able to see the properties of Chart Series.
Scroll down to CustomAttributes and then go to LabelStyle Property.
From here you can choose the style that suits your requiremnts.
Hope this help.

Creating Stack bar chart in Spotfire

enter image description hereI want to create a stack bar chart in spotfire with only 1 column of data.
So column name is WORK DONE and the values are YES -10, NO-5, NA - 2
I want to create a stack bar chart in which there will be just one bar colored by different values (yes, no, NA)
But when i am creating the same , i get 3 separate bars ; one for yes, no and NA each.
Is it possible to create such stack bar in spotfire. Please help me in the same.
Thanks in advance.
If not bar chart then maybe some other chart in which i will get a stacked bar?
AP
Go to the 'Appearance' tab of the barchart properties and select 'Stacked bars' under the Layout.
When basing your stacked bar on only one column, clear the 'Columns' field under the 'X-axis' tab. In this case you do not want anything to be depicted in at the X-axis, only one stacked bar with the different values.
Please read this page for more information about stacked bars in Spotfire.
On this page you can find more information about the options on bar charts.

RDL report - Chart with both bar and lines

I want to show in one chart report two series of data, one as a horizontal bar and one as a line. When I select for the second series a line chart type, it changes also the chart type for the first series which was set to bars.
This works if I'm using vertical columns for the first series, but it seems it is not working the same with horizontal bars.
Is there any way around this?
No. You cannot create a chart with horizontal bars and lines.
SSRS doesnt allow it.
It is not logical to join two concepts which is transpose of each
other. It is like showing vertical bar chart and horizontal bar chart
in the same graph.
Line charts are used to show overall trends and
patterns over time(usually) or some other series. Bar charts are good
for comparing unordered/nominal items.
You need to reevaluate your decision to show these two together.

"Target for each bar in spotfire" or "Combination of line and stacked barChart"

In Spotfire:
In a BarChart is it possible to add small target lines for each bar?
A way around I have done is that I converted it to combination chart and the added a line to show the target points for each bar.
But the problem comes if my Bar chart is stacked by some column. In combination chart we have only "series by" and not color by. i.e. I cant combine a line chart and stacked bar chart.
A related question already asked in spotfire community
I have done this by putting the Category axis column in the Trellis Column axis instead. Then remove the column from the Category axis, so you get one bar for each trellis panel.
Now you can add "Horizontal line from data table" and set it to "One per: trellis panel".

SSRS stacked bar chart label position

I am using SQL Server 2012. SSRS
I have a stacked bar charts that includes interest and dividends. I would like to add the sum of these values to the area just above the stacked bar chart. I have tried adjusting various properties for the labels but I can't get the label position to be anywhere but the middle of the stacked bar chart. Any ideas how to get these labels to be just above the stacked bar charts?
I tried the solutions mentioned here and found them cumbersome compared to this gem: http://peltiertech.com/label-totals-on-stacked-charts/
Add a "total" to your dataset (in my case, a percentage)
Add the total series to your stacked bar chart
Change the total series chart type to a line
Hide the line and line markers by setting their fill color to none
Set the Total series to not show in the legend
Set the data point position for your total series to "Top"
Here is my result:
There is not a way to do this with settings.
Here are a couple of links that give you step by step instructions:
http://beyondrelational.com/modules/2/blogs/65/posts/11575/display-total-on-top-of-stacked-chart.aspx
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/654f30c2-ad3a-4b4e-a34f-adf4db6b78d2/stacked-column-chart-total?forum=sqlreportingservices
Basically, the workaround is to create another series or category in your chart that is the totals (which requires updating your dataset to include the totals), make it transparent, and turn data labels on. The MSDN answer says to make it a line chart while the Beyond Relational article leaves it as part of the stacked bar. Either way will work.