Forum Discussion
Anonymous
3 years agoNot applicable
Multiply rows within same table
Hi, How should a measure be written where each row in a table should be multiplied with a specific row from same table. In this simplified table B and C should be multiplied with A. And the colu...
- 3 years ago
Hi, Anonymous
Measure:
Total = IF(HASONEVALUE('Table'[Date]),[Measure],SUMX('Table',[Measure]))Result:
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-zhangti
3 years agoCommunity Support
Hi, Anonymous
Measure:
Total = IF(HASONEVALUE('Table'[Date]),[Measure],SUMX('Table',[Measure]))
Result:
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Hi, this is the result I expect. However, I would need to define up to 30 variables (as examples B and C in your example). Would there be a different way to do it? Variable A is ok and should always be used to multiply B, C, D, E...