cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
xRTP
Helper III
Helper III

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])



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors