SSRS percentage of a total

后端 未结 1 1224
生来不讨喜
生来不讨喜 2020-12-07 03:14

I would like to be able to get the percentage of each row with relation of the whole total. Here is my formula:

=COUNTDISTINCT(Fields!ID.Value, \"NameOfRowG         


        
相关标签:
1条回答
  • 2020-12-07 03:25

    It sounds like what you want to do is calculate based on the dataset, not the table grouping:

    =CountDistinct(Fields!ID.Value)/CountDistinct(Fields!ID.Value, "MyDatasetName")
    
    0 讨论(0)
提交回复
热议问题