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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Super User
Super User

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
Super User
Super User

Hi @SUTChepe 

please try

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

SUTChepe
Frequent Visitor

Worked like a charm

Never used the "VALUES" formula before

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Users online (25)