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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
xRTP
Helper V
Helper V

Count less than 90%

Hello, how to count Name of handler that scored less than 90%

xRTP_0-1660223951174.png

xRTP_1-1660224081594.png

It returns a boolean.

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @xRTP 

 

Measure:

Quality<90 = 
CALCULATE (
    COUNT ( 'US RAW'[Name of Handler] ),
    FILTER ( ALL ( 'US RAW' ), [Quality Rating Score] < 0.9 )
)

vzhangti_0-1660726863070.png

Based on the sample data you provided, is it what you expected to get such a result?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-zhangti
Community Support
Community Support

Hi, @xRTP 

 

Measure:

Quality<90 = 
CALCULATE (
    COUNT ( 'US RAW'[Name of Handler] ),
    FILTER ( ALL ( 'US RAW' ), [Quality Rating Score] < 0.9 )
)

vzhangti_0-1660726863070.png

Based on the sample data you provided, is it what you expected to get such a result?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ayee thanks! Works like magic.

amitchandak
Super User
Super User

@xRTP , if Quality Rating score is a measure then 

 

Countx(filter(values(Table[Name of handler]), [Quality Rating score] <.8 ) , [Name of handler])

Hello,

 

It only returns 1, this is their quality everyday. The thing is i want to count how many times per handler they scored <80% in a month(slicer).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.