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
harirao
Post Prodigy
Post Prodigy

Percentile Calculation

Hi All,

Required assistance, I have to work on Percentile Calculation
Normally Percentile works smaller value to larger Value
I have to create/calculate 75th Percentile by using a column where Percentile calculation should happen from Larger value to Smaller value.
Kindly help me on this, Thanks for your help

 

Regards,

7 REPLIES 7
v-yiruan-msft
Community Support
Community Support

Hi @harirao 

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help anyone in the community find the solution easily if they face the similar problem with you. Thank you.

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

Hi @harirao ,

Could you please provide some sample data(exclude sensitive data) and your expected result? Thank you.

 

In addition, hope the following documentations can help you.

https://docs.microsoft.com/en-us/dax/percentile-exc-function-dax

https://community.powerbi.com/t5/Desktop/Calculating-the-percentile-for-a-set-of-data/td-p/250581

https://stackoverflow.com/questions/30634488/calculating-percentile-in-dax

 

Best Regards

Rena

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

Hi,

Thanks for your response, please find the below example for your reference.
I have created 90th Percentile by using column "Actual visibility Weeks", where percentile is calculating from ascending order to descending order: Please correct me if i am work.

 

90th Percentile.PNG

 

But I wanted to calculate 90th Percentile using ONLY descending to ascending order for the same column "Actual visibility Weeks", which ever month is Filer is used for visualization. 

DESC to ASC.PNG

 

Hi @harirao ,

I'm not sure if I understand your requirement... Could you please check whether the below screenshot is your expected result?

1. Create a calculated column

Neg_Actually visibility Weeks = -'Sheet1'[Actually visibility Weeks]

2. Create a measure

Percentile = ABS( PERCENTILE.INC(Sheet1[Neg_Actually visibility Weeks],0.9) )

percentile.JPG

If the above information has any wrong, please correct it. Thank you.

Best Regards

Rena

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

Hi @v-yiruan-msft,

 

Thanks for your response. 
Instead of creating Negative can we create a calculated colum, Larger Value to Smaller value for "Actualy Visibility weeks",  then use percentile calculation?

Regards

Hari

Hi @harirao ,

Please try to update the formula as below:

Percentile = PERCENTILE.INC(Sheet1[Actually visibility Weeks],0.1)

 

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

You can try using value 1/[measure] and check

Helpful resources

Announcements
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.