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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
SUTChepe
Frequent Visitor

Calculate the count of a measure in DAX

Hi, I have a simple table for a Quality program, where I have a Measure:

 

QA Score = AVERAGE([Score])

This gives me the QA Score, but I want to make a DAX measure that calculates all the QA Score that are above or equal 90%, I tried doing several but I always have errors counting others or not counting all, the latest example I have is:

 

On target: =CALCULATE(DISTINCTCOUNT([Name]),FILTER(Table_Name,[QA Score]>=0.9))

 

Weekly evaluation works fine as we only have 1 evaluation per agent, but the problem starts when we have more than 1 week as we have 1 evaluation above 90% and one lower than 90%, for example:

 

EvaluationsQA ScoreOn Target
285%1
   

 

when having 2 evaluations:

 

SUTChepe_0-1692052813075.png

 

But i would like the "on target" measure to calculate this based on the overall measure, not the individual evaluation performance, please let me know if it makes sense

1 ACCEPTED SOLUTION
tamerj1
Community Champion
Community Champion

Hi @SUTChepe 

please try

On Target: =
SUMX ( VALUES ( Table_Name[Name] ), INT ( [QA Score] >= 0.9 ) )

View solution in original post

2 REPLIES 2
tamerj1
Community Champion
Community Champion

Hi @SUTChepe 

please try

On Target: =
SUMX ( VALUES ( Table_Name[Name] ), INT ( [QA Score] >= 0.9 ) )

Worked like a charm

Never used the "VALUES" formula before

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.