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

Join 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.

Reply
Krishnaraj
Frequent Visitor

Max value based on conditional measure

Hello, 

 

In the following data, I am trying to get the max Maturity Level ID where Assessment Criteria # = Assessment Criteria Met #. Both Assessment Criteria # and Assessment Criteria Met # are measures and they are the counts of total criteria and criteria that were met respectively. 

 

Krishnaraj_0-1616501572354.png

For Benefits Determination, Business Context, Access and Authorization, I am expecting Current ML to be 4. As that is the Max maturity level ID when Assessment Criteria # and Assessment Criteria Met # match (3=3). 

 

Please help. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Krishnaraj , Try a measure like

 


maxx(filter(summarize(Table, table[use case name], table[plan name],table[elemet name], "_1",[ Assessment Criteria #], "_2" , [Assessment Criteria Met #], "_3",[Maturity Level ID]), [_1] =[_2]),[_3])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Krishnaraj,

Can you please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Krishnaraj , Try a measure like

 


maxx(filter(summarize(Table, table[use case name], table[plan name],table[elemet name], "_1",[ Assessment Criteria #], "_2" , [Assessment Criteria Met #], "_3",[Maturity Level ID]), [_1] =[_2]),[_3])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.