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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
CBCKV
Regular Visitor

Create a DAX measure for when someone DOES NOT have a certification.

Hi, 

 

I am trying to create a measure (or a calculated column) that is a flag for when an employee does not hold a specific certification. For instance, I have a certification called "Workplace First Aid Course" I have assigned this to many employees but I want to identify those that do not have that certification assigned to them at all. Whenever I try to do this the data in my table seems to repeat other unrelated fields such as teams and locations, i.e the flag itself will work ok (displaying 0 for does have it and 1 for does not) but I cant use any filters and the table displays all of our locations and teams repeat for each individual record. For reference this is the DAX I currently have: 

 

Missing Certification Flag =
VAR SelectedCertification = SELECTEDVALUE('Certifications Data'[Certification Name])
RETURN
IF (
ISBLANK (
CALCULATE (
COUNTROWS('Certifications Data'),
'Certifications Data'[Certification Name] = SelectedCertification,
'Certifications Data'[EmployeeID] = MAX('Employees'[EmployeeID]),
ALLSELECTED('Certifications Data')
)
),
1,
0
)

2 REPLIES 2
CBCKV
Regular Visitor

Hi Bhanu, 

 

Will I have to do this for each certification individually?

 

Thanks, 

bhanu_gautam
Super User
Super User

@CBCKV , Try using below mentioned measure

 

Missing Certification Flag =
VAR SelectedCertification = "Workplace First Aid Course" -- Replace with your specific certification name
RETURN
IF (
ISBLANK (
CALCULATE (
COUNTROWS('Certifications Data'),
'Certifications Data'[Certification Name] = SelectedCertification,
'Certifications Data'[EmployeeID] = MAX('Employees'[EmployeeID])
)
),
1,
0
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.