December 20, 2012 at 11:15 am
So I have a simple table... Month, Budget, Actual, Varaince Percent
I created a chart based on the same dataset with "Variance Percent" in the data field of the chart and no series and and "Month" as the category. It looks fine.
I removed the "Month" from the chart and drop in the table. I get bars with the correct numbers, (one bar for each month and the marker is displaying the Variance Percent corectly), but the bars aren't porportioned properly. 10% is same length as 50%. And I have a 45% that is longer than 25%. I thin the scale might be differnet for each bar.
Anyone know how to fix?
December 21, 2012 at 8:52 am
Mike:
It sounds like you haven't set the Maxiumum scale to the same value (y axis, typically) for the embedded chart, consequently, your graphs aren't visually reliable when comparing values. Couple different ways to handle this. One simple way is to set the maximum scale to 1 (assuming your variance is a decimal measured between 0 and 1) -- typically you'd set this on the Y-axis.
If your variance can be greater than 100%, then you'll need to calculate the max variance, and set that value to the maximum scale value in the embedded chart. One approach is to calculate the max variance in a cell in the footer of the table that holds the embedded chart. Then, in your embedded chart, you'd reference this cell as the maximum scale: e.g., Maximum = ReportItems!MaxVariance.value.
To see what I'm talking about, check out SSW's Rules to Better SQL Reporting Services (http://www.ssw.com.au/ssw/standards/Rules/RulesToBetterSQLReportingServices.aspx). Click on item 18 on their webpage (or do a find for "scaled") -- this will bring you to the section called "Do you use expressions to show the correct scale on charts?". By the way, this URL is a very long page, so it might take a couple of moments to load (lots of pics related to report layout).
Hopefully these tips address the problem you are encountering.
--Pete
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply