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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
olimilo
Continued Contributor
Continued Contributor

Measure to show equivalent value if the parent table is filtered

I'm trying to display a single value based on a parameter if the parent table is filtered to just one value (using drillthrough to page) . We have 2 tables, AuditorData and Qualification, 1:M joined by a common ID column.

 

AuditorData

ID Name
1 John Doe
2 Jane Doe
3 Jim Doe

 

Qualification

ID QualificationLevel
1 Qual A Lead
1 Qual B Lead
1 Qual C Sub
2 Qual B Sub
2 Qual C Sub
3 Qual A Lead
3 Qual B Sub

 

Previously, I am using the measure below to do just that however it is no longer working properly, where if a AuditorData[Name] has a matching record in a specific Qualification[Qualification], it should show the corresponding Qualification[Level] - now it is only showing blanks or "Not Certified" if there are no matches. Was there a change in how this works or is there a different solution to this?

 

 

Measure = IF(HASONEVALUE('AuditorData'[Name]),
        IF(
            CONTAINS('Qualification', 'Qualification'[Qualification], "Qual A"), 
            MIN('Qualification'[Level]),
            "Not Certified"
        ),
        "-"
    )

 

 

1 ACCEPTED SOLUTION
Deku
Super User
Super User

 

Your measure isn't taking the level for the specific Qualification, need to filter by it

Measure = 
var qualLevel = 
   CALCULATE( 
      MIN('Qualification'[Level]),
      'Qualification'[Qualification] = "Qual A"
   )
var result =
   IF( ISBLANK( qualLevel ), "Not Certified", qualLevel )
RETURN
IF(HASONEVALUE('AuditorData'[Name]), result , "-")

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

2 REPLIES 2
Deku
Super User
Super User

 

Your measure isn't taking the level for the specific Qualification, need to filter by it

Measure = 
var qualLevel = 
   CALCULATE( 
      MIN('Qualification'[Level]),
      'Qualification'[Qualification] = "Qual A"
   )
var result =
   IF( ISBLANK( qualLevel ), "Not Certified", qualLevel )
RETURN
IF(HASONEVALUE('AuditorData'[Name]), result , "-")

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
olimilo
Continued Contributor
Continued Contributor

Thanks, this worked for me

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors