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
I have a table with treatment and control values, now I am creating a matrix by pivoting at Treatment and Control values. But I am not sure how to get difference between these columns. We have the option in PowerBI to get the Column totals, but how to get the difference?
I have used these in Matix:
Columns: Category
Values: A, B, C
Sample Data:
| Category | A | B | C |
| Treatment | 1 | 2 | 3 |
| Treatment | 1 | 2 | 3 |
| Treatment | 1 | 2 | 3 |
| Treatment | 1 | 2 | 3 |
| Treatment | 1 | 2 | 3 |
| Control | 1 | 2 | 3 |
| Control | 1 | 2 | 3 |
| Control | 1 | 2 | 3 |
| Control | 1 | 2 | 3 |
Expected:
| Treatment | Control | Delta | |
| A | 5 | 4 | 1 |
| B | 10 | 8 | 2 |
| C | 15 | 12 | 3 |
Here is the visual which is matix. To get this visual, you just have to enable the option under Values section
You cannot share the samepl pbix file here
Beacause of confidentiality I cannot share it. But you can use that sample data
Share sample pbix file to help you.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 44 | |
| 40 | |
| 29 | |
| 19 |
| User | Count |
|---|---|
| 200 | |
| 126 | |
| 103 | |
| 70 | |
| 53 |