Recent PostsRecent Posts Popular TopicsPopular Topics
 Home Search Members Calendar Who's On

 Bar Chart in Table, 10% is longer than 40% and 25% is same length as 40% Rate Topic Display Mode Topic Options
Author
 Message
 Posted Thursday, December 20, 2012 11:15 AM
 SSC Rookie Group: General Forum Members Last Login: Wednesday, October 23, 2013 8:34 AM Points: 33, Visits: 162
 So I have a simple table... Month, Budget, Actual, Varaince PercentI 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?
Post #1399076
 Posted Friday, December 21, 2012 8:52 AM
 Old Hand Group: General Forum Members Last Login: Today @ 2:39 PM Points: 303, Visits: 1,367
 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
Post #1399461

 Permissions