reporting services - ssrs calculate share % devide by total of column -


i've got matrix in ssrs:

custname     monthsales     share % abc          1000           50% def          500            25% ghi          500            25% total        2000           100% 

so custname row group. i'm trying calculate share % follows:

=fields!monthsales.value /  sum(fields!monthsales.value, "custname") 

but keep getting 100%

i should have taken dataset scope:

=fields!monthsales.value /  sum(fields!monthsales.value, "dataset1") 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -