Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |