Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi!
I have the following data table:
Categories | Product | Amount |
ALL | A | 3 |
ALL | B | 2 |
ALL | C | 10 |
ALL | A | 7 |
ALL | B | 13 |
Category1 | A | 2 |
Category2 | B | 3 |
Category3 | C | 5 |
Category1 | B | 3 |
Category2 | A | 2 |
Category3 | C | 1 |
I want to make a matrix table out of this in the following format:
Product | Category1 | Category2 | Category3 | ALL minus EVERY CATEGORY | Total |
A | 2 | 2 | 0 | 10-2-2=6 | 10 |
B | 3 | 3 | 0 | 15-3-3=9 | 15 |
C | 0 | 0 | 6 | 10-6 = 4 | 10 |
Total | 5 | 5 | 6 | 35-5-5-6 = 19 | 35 |
From Category1 to Category3 it is easily done, but i'm having a hard time figuring out how to do the calculated column.
Solved! Go to Solution.
If i put this measure in my matrix, the measure gets calculated for every existing column in the matrix. Is there a way around this?
You are already skirting by one of the UX rules (don't repeat data in the same visual). I would recommend you use separate visuals.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
61 | |
46 | |
45 |