Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Greeting to everyone!
Would you pls suggest how to move on with this?
I have two tables. The first of them contains all possible variations of statuses. The second contains categories and their statuses. Not all possible status variations are present in the second table.
What I would to get as the desired output is a pivot table with all distinct categories in rows and count of matching statuses in columns, similar to EXEL calculation using COUNTIFS($D$4:$D$13,$B19,$E$4:$E$13,C$18), putting 0 for those statuses that are missing for related categories in the second table (for Status5 and Status6):
Thank you very much for your help and have a great day!
Solved! Go to Solution.
1) create a join between the Status columns
2) put Category in rows, All possible statuses in columns, and a measure
#rows = COUNTROWS(Table)+0
+0 at the end will wrok around the autoxists which would normally hide the values.
Another option is to show items with no data (right click on the fields definition) but I think it will show blanks by default (if the measure is just COUNTROWS, or you drag & drop column and count from UI)
Hi @Stachu , thank you for a very prompt response. I tried it out and it works fine under option #1 of your solution.
1) create a join between the Status columns
2) put Category in rows, All possible statuses in columns, and a measure
#rows = COUNTROWS(Table)+0
+0 at the end will wrok around the autoxists which would normally hide the values.
Another option is to show items with no data (right click on the fields definition) but I think it will show blanks by default (if the measure is just COUNTROWS, or you drag & drop column and count from UI)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |