[英]How to get Distinct Sum at SSRS Expression?
Please check the picture file attached.
请检查附件中的图片文件。 I want to get distinct sum of a column(Promotion Amount) based on another column(Promotion Name).
我想基于另一列(促销名称)获得一列(促销金额)的不同总和。 At SSRS.
在SSRS。 Cannot do this grouping sum at t-sql Level .. Need to be done in SSRS only.. through expression.
无法在t-sql级别进行此分组总和。仅需要在SSRS中通过表达式进行。
Thanks in Advance 提前致谢
Resolved. 解决。 Grouped by "Promotion Name".
按“促销名称”分组。 Then Write Sum formula as
SUM(Max(PromotionAmount,"GroupName"))
然后将Sum公式写为
SUM(Max(PromotionAmount,"GroupName"))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.