This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
If i have a Matrix with different categories in the first column and ordering numbers that includes the specific category in the second column. How do count how many ordering numbers there are in each category?
Hi @Chris123,
I create sample table. There are categories in the first column and another sun-categories.
Create a measure.
Measure = CALCULATE(SUM(Table6[number]),ALLEXCEPT(Table6,Table6[category],Table6[sub-category]))
Create a matrix. Select the category as row level, and sub-category as column level, please see the following screenshot.
If this is not what you want, please post your sample data for further analysis?
Best Regards,
Angelia
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 24 | |
| 24 | |
| 21 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 49 | |
| 26 | |
| 25 |