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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Calculating Deciles in Power BI

Hello All,

I'm looking to calculate deciles for each row, for the table listed below. 

Deciles because ultimately i want to be able to identify Top and bottom 10% of the Accuracy column based on a Area/Tasktype/Subtype combo.

This would help me derive conclutions like so :

  • 20% of all data values lie below 67.8.
  • 30% of all data values lie below 76.5.
  • 40% of all data values lie below 83.6.

 

 

AreaTaskTypeSubtypeAverageTimeAccuracyDecile
EastXXYAB012.3377%?
WestXXYAB020.33217%?
SouthYYZBC010.65165%?
NorthYYZBC031.21120%?
NortheastYYZBC084.53150%?
NorthwestABCCD012.1370%?
SoutheastABCCD026.25124%?
SouthwestABCCD105.15102%?
NNECBAEF013.33110%?
NNWCBAEF1222100%?
SSWCBAEF133.13103%?
SSECBAEF160.770.6128%?
1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

In my working experience , i am not familiar about the "Deciles ".

But to get the Deciles  , there are two DAX funtion given to us.

 PERCENTILE.EXC  and PERCENTILE.INC
 
For more information , you can refer to :
PERCENTILE.EXC function (DAX) - DAX | Microsoft Learn
 
You can check which function is you are looking for and test it in your side , like this:
vyueyunzhmsft_0-1682559747666.png

 

 

 

If this method does not meet your needs, you can provide us with your detailed calculation logic and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

In my working experience , i am not familiar about the "Deciles ".

But to get the Deciles  , there are two DAX funtion given to us.

 PERCENTILE.EXC  and PERCENTILE.INC
 
For more information , you can refer to :
PERCENTILE.EXC function (DAX) - DAX | Microsoft Learn
 
You can check which function is you are looking for and test it in your side , like this:
vyueyunzhmsft_0-1682559747666.png

 

 

 

If this method does not meet your needs, you can provide us with your detailed calculation logic and the desired output sample data in the form of tables, so that we can better help you solve the problem. (You can also upload you sample .pbix [without sensitive data] to the OneDrive and share with the OneDrive link to me ! )

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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.