Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

SSRS display sum for sub category group by value.

$
0
0
I have a table in below formatcriteria Year countA 2014 6A 2015 24B 2014 2B 2015 72I have a stacked chart withvalues =countcategorygroup=criteriacategorygroup1=yearNow I have to display the data in the chart as percentage.The percentage should sum upto to 100 for a particular year.for example for 2014 it should be 6/(2+6) = 75% for criteria A and 2/(2+6) = 25% for criteriaB.similarly for 2015 it should be 24/(24+72) = 25% for criteria A and 72/(24+72) = 75% for criteriaB.The number of years is variable but no of criteria is 2(fixed).This percentage value should be displayed in the bars of column chart.Please help me to come out of this scenario.Thanks,Joy

Viewing all articles
Browse latest Browse all 2791

Trending Articles