Forum Discussion
aishak12
4 years agoHelper IV
Chart
All,
Thanks
You could do it like this.
Diff Amount = VAR _A = CALCULATE ( SUM ( 'YourTable'[Column 2] ), 'YourTable'[Column Name] = "A" ) VAR _B = CALCULATE ( SUM ( 'YourTable'[Column 2] ), 'YourTable'[Column Name] = "B" ) RETURN _B - _A
1 Reply
- jdbuchanan71Super User
You could do it like this.
Diff Amount = VAR _A = CALCULATE ( SUM ( 'YourTable'[Column 2] ), 'YourTable'[Column Name] = "A" ) VAR _B = CALCULATE ( SUM ( 'YourTable'[Column 2] ), 'YourTable'[Column Name] = "B" ) RETURN _B - _A