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! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 103 | |
| 63 | |
| 36 | |
| 35 |