Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper I
Helper I

Filtering for "Highest Level" option in a table

I have a table of training per person that looks something like the Table below. I'd like to be able to count and filter and create tables for the number of Yellow Belts vs Green Belts vs Black Belts I have. I'd also like to be able to create some calculations (Ex % of people on the list that have a yellow belt, % of people who have completed the green belt course that are green belt certified).


I first went down the path of trying to create conditional columns for each training option, but I definitely think I'm doing this the hard way. Does anyone have suggestions for how to get started?


Person AYellow Belt

Person A

Green Belt Course
Person AGreen Belt Certified

Person B

Yellow Belt

Person C

Yellow Belt

Person C

Green Belt Course

Person D

Yellow Belt

Person D

Green Belt Course

Person D

Green Belt Certified

Person D

Black Belt Course

Person D

Black Belt Certified
Community Support
Community Support

Hi @DemingPDCA 


Your table is in a proper structure for calculation. But it is not clear which courses have been completed. Does this table only record completed courses by all people? Are "Green Belt Course" and "Green Belt Certified" the same course? 


Once these problems are clear, you can then create measures to make the calculations you want. You can add different filtering conditions to measures. For example, 

Number of Persons = DISTINCTCOUNT ('Table'[Person])

Number of Persons having Yellow Belt = CALCULATE(DISTINCTCOUNT ( 'Table'[Person] ),'Table'[Training] = "Yellow Belt")


Add measures to appropriate visuals to display the results.


Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors