Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Easy question here (I think, as I haven't done PowerBI in a couple years and all my skills have left me):
I have a table like this
| Team | Status |
| Team1 | Red |
| Team1 | Green |
| Team2 | Red |
| Team2 | Yellow |
| Team2 | Red |
| Team2 | Green |
My usecase is that I want to be able to count the number of rows that are of status Red, status Yellow, and status Green...and then have a separate multi-row card that shows percentage in each. It should also be able to change based on what Team is selected, so I'm guessing I need a measure.
So for example, with no filters applied, it should show 50% Red, 17% Yellow, 33% Green
If I filter to only Team2, it should show 50% Red, 25% Yellow, 25% Green
Would also be cool to have a way to show % of a certain color for each team.
Solved! Go to Solution.
pls create a status table
and create a measure
Measure = CALCULATE(COUNTROWS('Table'),'Table'[Status]=max('Table (2)'[status]))/COUNTROWS('Table')
Proud to be a Super User!
pls create a status table
and create a measure
Measure = CALCULATE(COUNTROWS('Table'),'Table'[Status]=max('Table (2)'[status]))/COUNTROWS('Table')
Proud to be a Super User!
This works, thank you!
Hi,
To show the Teamname add the below column to your table :
Accepted the other answer since I tried it first, but I'm going to also try this to see if it gives more flexibility. Never used the COALESCE command before. Thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 77 | |
| 37 | |
| 31 | |
| 29 | |
| 26 |