Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I created SSRS RDLC report ,table grouped by raw group. when i try to Sum two column values, it calculate as a raw, and my row's hidden fields also calculate. how to solve it?.

What I have tried:

=Sum(Fields!RiskFactor.Value *Fields!RiskRating.Value)


cl1                 cl2                    cl3
      3                   1                      3
      3                   4                      12
      3                   1                      3
      2                   1                      2
                                       
                                      Total     23
Posted
Updated 27-Apr-17 0:32am
v3
Comments
CHill60 27-Apr-17 5:54am    
That is not summing the fields it's summing the product of the fields
Member 13155864 27-Apr-17 6:00am    
i need to get Sum of two column multiplication. how to do that ?
CHill60 27-Apr-17 6:03am    
That is what you are doing, but your question said you were trying to sum the column values.
You could try = (Sum(Fields!RiskFactor.Value) * Sum(Fields!RiskRating.Value))
Member 13155864 27-Apr-17 6:14am    
Result:

cl1 cl2 cl3


3 1 3
3 4 12
3 1 3
2 1 2

Total 23

Total should 20, how to solve this problem?

cl1=Fields!RiskFactor.Value
cl2=Fields!RiskRating.Value
Abhipal Singh 27-Apr-17 7:16am    
Could you let us know the formula being used for "Total". Also, why don't you sum c13 only?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900