This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello, I am trying to create a Power BI Matrix from sales data that looks like:
To create a summary, by sales person, by count of their role in a sale:
I'm probably overthinking this, but can't seem to elegantly accomplish this without building side tables which extract each role and person and then merging those tables together. Anyone have ideas on this?
Solved! Go to Solution.
Hi, in Edit Query Select the 3 columns (Except Opp ID) and Transform Unpivot Columns.
You'll obtain something like this:
Change the name of the Columns. Close & Apply
Finally in a Matrix
Hi, in Edit Query Select the 3 columns (Except Opp ID) and Transform Unpivot Columns.
You'll obtain something like this:
Change the name of the Columns. Close & Apply
Finally in a Matrix
You aren't going to get away from building a separate person table. Once you have done that you can probably write measures --
Total Id := DISTINCTCOUNT(MyTable[Identify])
Total Develop := DISTINCTCOUNT(MyTable[Develop])
...
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 20 | |
| 20 | |
| 19 |