Forum Discussion
Alex22
9 years agoRegular Visitor
Sum based on Different Column
Hi, I have columns [Month] , [Item] and [Revenue], I want to show column "Month wise Revenue" as shown below in single table
- 9 years ago
To sum Revenue group on Month, you just need to use ALLEXCEPT() to ignore Item slicing in CALCULATE().
You can create either a column or measure like below:
=CALCULATE(SUM(Table[Revenue]),ALLEXCEPT(Table,Table[Month]))
Regards,
v-sihou-msft
9 years agoMicrosoft Employee
To sum Revenue group on Month, you just need to use ALLEXCEPT() to ignore Item slicing in CALCULATE().
You can create either a column or measure like below:
=CALCULATE(SUM(Table[Revenue]),ALLEXCEPT(Table,Table[Month]))
Regards,