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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
karinafreitass
Helper III
Helper III

Find Percentages above a certain value

Hello people, Could someone help me? Please!

What could be wrong with the measure below?

COUNTX(fCompras,IF([Negociação no Prazo (Percentual)]>0.6,0,1))
 
I want to see how many "Negociações OnTime" are above %60 for each "Comprador"Screenshot (226).png
1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hello

So in the Acima column 60% of your visual, do you want to see 1,0,0,0 and the total as a sum, that is, 1? Also, is OnTime Trading a measure?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hello

So in the Acima column 60% of your visual, do you want to see 1,0,0,0 and the total as a sum, that is, 1? Also, is OnTime Trading a measure?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur I managed to solve using this

SUMX(
VALUES(dCalendario[Year/Month]),
CALCULATE(IF(DIVIDE,[Total Requisition])>0.6,1,0))

Thank you so much

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.