Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
ericgerma
Frequent Visitor

Select employees for which all status fields are "Completed"

Hello everbody,

I'm a new user of Power BI and this is my first question.

 

I'd like to filter a table structured like this : "Employee / Training title / Training status". Where Training status are "In progress" or "Completed".

I 'd like to only have the Employees for which ALL "Training titles" in the table are in status "Completed". If, for an employee, one or more status are "In progress", I don't want this employee in the table.

 

Could you help me with that ?

 

Thanks a lot Smiley Happy

1 ACCEPTED SOLUTION

@ericgerma,

 You can create a measure like below to use it in visual filter to achieve what you want.

 

PowerBI Sample 1.jpg

 

 

To get the count of employees who have completed all teh training you can use a measure like:

Training Completed Count = DISTINCTCOUNT(Sheet1[Employee])-[Training Not Completed]

 

If this solves your problem please mark this as the solution.

 

View solution in original post

7 REPLIES 7
ericgerma
Frequent Visitor

@anandav : yes that's it 🙂 

@MarcoG2000 : thank's for this solution, i'll test it when i'll be at work 🙂

 

By the way, is there any solution to do this with DAX and to count thoses employees ?

My first idea was to do a measure to caluculate the % of completed trainings by users and filter only employees with 100%. But it did'nt work in DAX with that measure.

@ericgerma,

 You can create a measure like below to use it in visual filter to achieve what you want.

 

PowerBI Sample 1.jpg

 

 

To get the count of employees who have completed all teh training you can use a measure like:

Training Completed Count = DISTINCTCOUNT(Sheet1[Employee])-[Training Not Completed]

 

If this solves your problem please mark this as the solution.

 

@anandav Thanks; it works, with a little tweaks, but it works for me !

MarcoG2000
Frequent Visitor

Hello, I posted a similar problem a few days ago (here is: synthetic result for each customer on each day). Your problem should be solved as mine was solved. Add a calculated column: in case the course is completed, put 0 else 1. If you use the "summarize" function and the "min" function all people who have zero have competed all the courses, otherwise someone has not completed at least one course.
anandav
Skilled Sharer
Skilled Sharer

@ericgerma,

 

Depending on your requirement you can do three things:

1. Use a Slicer to filter the data

2. Filter out 'In-Porgress' records in Power Query editor.

3. Filter out -In-Porgress' in visual or report filter settings.

 

1. Use a Slicer to filter the data

PowerBI Sample 1.jpg

 

2. Filter out 'In-Porgress' records in Power Query editor

When you are loading the data select 'Edit' and go to Query Editor.

OR

https://docs.microsoft.com/en-us/power-bi/desktop-query-overview

PowerBI Sample 2.jpg

 

3. Filter out -In-Porgress' in visual or report filter settings.

https://docs.microsoft.com/en-us/power-bi/power-bi-report-add-filter

Thanks a lot Anandav for your quick answer !

I give you more details about my case :

I have multiple trainings by users, not only one as in your exemple. So imagine Matt have T1 and T2 completed and Donna T2 in progress and T3 completed.

I only want to have Matt in my table because all of its trainings are completed but Donna not.

 

I hope to be clear in my explanations 🙂

@ericgerma,

What is the definition of "all of his trainings are completed"?

Do you want exclude any employee if any of the respective employee's training status is 'In-Progress' even if they have some tranining courses completed?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors