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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
KhrystinaM
Helper I
Helper I

Formula Question

Hello, I am hoping someone can help me create a formula based off of multiple measures. 

 

Current Measures

  • "Met" = CALCULATE(COUNTROWS('Status Board'),'Status Board'[Met / Not_x002]="Met")
  • "Not Met" = CALCULATE(COUNTROWS('Status Board'),'Status Board'[Met / Not_x002]="Not Met")
  • Met/NotMetX = ["Met"]+["Not Met"]
  • MetX = SUMX('Status Board','Status Board'[Met Count])
  • NotMetX = SUMX('Status Board','Status Board'[Not Met Count])
  • Count% = DIVIDE([MetX],[MetXNotMetX],0)

I have a table field for exceptions. I need to add to my "Not Met" and NotMetX formula to not count if Exception Granted = TRUE

 

KhrystinaM_0-1706731062544.png

 

Is this possible? Thank you!! 

 
 
1 ACCEPTED SOLUTION
sayaliredij
Solution Sage
Solution Sage

HI @KhrystinaM 

 

For Not Met

 

you can add "and" condition and that should be good 

Measure = CALCULATE(COUNTROWS('Status Board'),AND('Status Board'[Met / Not_x002]="Not Met", Status Board'[Exception Granted]<>"TRUE" ))
 
for NotMetX
 
  • NotMetX = calculate ( SUMX('Status Board','Status Board'[Not Met Count]),Status Board'[Exception Granted]<>"TRUE" ))

Please try these formule and check if its working 

 

Thanks and Regards,

 

Sayali

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful!! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
KhrystinaM
Helper I
Helper I

This worked, thank you so much!! 

sayaliredij
Solution Sage
Solution Sage

HI @KhrystinaM 

 

For Not Met

 

you can add "and" condition and that should be good 

Measure = CALCULATE(COUNTROWS('Status Board'),AND('Status Board'[Met / Not_x002]="Not Met", Status Board'[Exception Granted]<>"TRUE" ))
 
for NotMetX
 
  • NotMetX = calculate ( SUMX('Status Board','Status Board'[Not Met Count]),Status Board'[Exception Granted]<>"TRUE" ))

Please try these formule and check if its working 

 

Thanks and Regards,

 

Sayali

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful!! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors