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!
Hi,
I am trying to create below visual, but I can't seem to make it work with either a table or a Matrix:
The columns and rows are the same, and the number is the count of cases in each category. A case can have more than 1 category.
| Category 1 | Category 2 | Category 3 | Category 4 | Category 5 | |
| Category 1 | 1 | 6 | 3 | 3 | 5 |
| Category 2 | 8 | 2 | 7 | 1 | 3 |
| Category 3 | 5 | 3 | 3 | 4 | 4 |
| Category 4 | 5 | 1 | 2 | 5 | 2 |
| Category 5 | 3 | 1 | 3 | 9 | 9 |
My data looks like this:
| Case ID | Category |
| 1 | Category 1 |
| 1 | Category 2 |
| 1 | Category 3 |
| 1 | Category 4 |
| 2 | Category 4 |
| 2 | Category 3 |
| 3 | Category 2 |
| 3 | Category 1 |
| 4 | Category 2 |
| 4 | Category 1 |
How do I achieve this in Power BI?
Thanks in advance,
Let's keep it simple. The original data and the desired result should reflect each other (with an explanation of how to get from one to the other).
So let's start with the sample data. What would the end result be and how do we get there?
Can you provide the source data for this end result please?
Hi, I have updated the post with some sample data.
Thanks for pointing out.
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 |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |