Forum Discussion
Claudine
6 years agoRegular Visitor
Summing a Column Grouped by Value in Another Column
Hello, I'm trying to do a simple sumif (simple in Excel that is) but can't seem to make it work Power BI If I have the sample table below (simplified for this sample but actual data has mult...
- 6 years ago
Thanks for the data.
Adding the dimension table to the allexcept clause should get the correct result.
Something like
CALCULATE(SUM(TableA[ONHANDQTY]), ALLEXCEPT(TableA, TableA[ITEMID], TableB))