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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 48 | |
| 38 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 77 | |
| 35 | |
| 28 | |
| 25 |