Forum Discussion
leandroduarte
Helper I
2 years agoTotal per group
Dear Colleagues, I'm trying to make a total per group using this table structure, please let me know the best way to handle it basically I want to display for each row the total of the group and ...
- 2 years ago
Use this measure
Measure = CALCULATE(SUM('DataTable'[Qty]), FILTER(ALL('DataTable'), 'DataTable'[Group] = SELECTEDVALUE('DataTable'[Group]) && 'DataTable'[Year] = SELECTEDVALUE('DataTable'[Year])))Regards
Phil
PhilipTreacy
Super User
2 years ago
Use this measure
Measure = CALCULATE(SUM('DataTable'[Qty]), FILTER(ALL('DataTable'), 'DataTable'[Group] = SELECTEDVALUE('DataTable'[Group]) && 'DataTable'[Year] = SELECTEDVALUE('DataTable'[Year])))
Regards
Phil