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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
daxBeanz
Regular Visitor

Filter Rows where Count > Percentile Value Measure

I have a table skills that has a column called CanonicalValue and it has two measures: SkillCount and X_PercentileValue

 

SkillCount = CALCULATE(COUNTAX(skills,skills[CanonicalValue]))

 

X_Percentile_Value = 
VAR SummaryTable =
    SUMMARIZE (
        'skills',
        skills[CanonicalValue],
        "Count", [SkillCount]
    )
RETURN
PERCENTILEX.INC(SummaryTable,[Count],Parameter[Parameter Value])

I want to create a third measure that evaluates whether X_Percentile_Value is greater than SkillCount. 

 

This is my current visual layout.daxBeanz_0-1704741853727.png

The CanonicalValue column has duplicates and the SkillCount measure reflects the counts correctly.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @daxBeanz ,

 

What do I need to do after the comparison? You can simply determine this with an if expression.

Greater = IF([X_Percentile_Value]>[SkillCount ],1,0)

 

Please feel free to correct me and provide more information if I have misunderstood you!

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @daxBeanz ,

 

What do I need to do after the comparison? You can simply determine this with an if expression.

Greater = IF([X_Percentile_Value]>[SkillCount ],1,0)

 

Please feel free to correct me and provide more information if I have misunderstood you!

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

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

Ritaf1983
Super User
Super User

Hi @daxBeanz 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.