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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Calculation percentile range

Good morning, I'm trying to calculate the percentile range of a formula (attached photo). But when I put it in a table to show it I am not able to show me the values and I get an error message: "insufficient memory, try it later".

And I need this formula in others. So I don't know how to do to show that value.

Alberto99_0-1656486509223.png

Thanks a lot

Greetings.

3 REPLIES 3
amitchandak
Super User
Super User

@Syndicate_Admin , Any reason for giving 4 in third parameter, Can that be blank?

 

Also, do you want this formula at row level?

 

You can choose some level like the example

 

rankx(allselected(Table[ID]), [Measure] )

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Good, I'm trying to pass this formula from excel to the DAX language:

RANK. PERCENTILE(Continuidad_A_sbir_hora_2;4)

Anonymous
Not applicable

Hi @Syndicate_Admin ,

 

I suggest you to add an [Index] column in Power Query and then calculate the percentile rank.

RicoZhou_0-1657185134333.png

Measure:

Percentile Rank = 
VAR _Running_Total =
    CALCULATE (
        SUM ( 'Table'[Score] ),
        FILTER ( ALL ( 'Table' ), 'Table'[Index] <= MAX ( 'Table'[Index] ) )
    )
VAR _TOTAL =
    CALCULATE ( SUM ( 'Table'[Score] ), ALL ( 'Table' ) )
RETURN
    DIVIDE ( _Running_Total, _TOTAL )

Result is as below.

RicoZhou_1-1657185319156.png

 

Best Regards,
Rico Zhou

 

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

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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