Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

100% stacked chart data label formatting issue

$
0
0

Whats the expression for default label data in 100% stacked chart??

While using 100% stacked chart in SSRS 2008, the data labels are automatically calculated totaled to 100% for each column.. However, I need to display the actual number along the percent that's already being displayed.

In the chart below, the percentages are totaled to 100 for each month.



I have tried putting in this expression to get this to work, but the percentages calculation is not right.

=Count(Fields!ID.Value) & " (#PERCENT{P1})"


The percent values that are being displayed here are the percentages when calculated for the total chart - but not for that particular period.

Ideally, the data labels that I want to display here are:

44(74.58 %) .......... 25(83.3 %)15(25.42 %) .......... 5(16.67 %)
------------------------------------

Nov.......................  Dec


So, what is the expression that SSRS is using to calculate the percent values by default so that I can use the same expression to achieve this output?







Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>