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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
basrooz
Advocate I
Advocate I

Percentile in column

Hi,

I have a table with clients, the amount of orders, and the average amount of orders per month.

 

Client ID

Country

Orders

Average orders per month

A

USA

100

3

B

USA

10

5

C

Canada

50

8

 

I want to add a calculated column that shows the percentile based on average orders per month. Like this:

 

Client ID

Country

Orders

Average orders per month

Percentile

 

A

USA

100

3

10th

 

B

USA

10

5

20th

 

C

Canada

50

8

70th

 

 

I’d like to split things up in the following percentiles: 10, 20, 30, 40, 50, 60, 70, 80, 85, 90, 95, 99 .

I’ve managed to create a measure using the percentile.exc formula which calculates the percentile based on average orders per month, but I now want to have it in the table as a calculated column. Reason for this is that I want to see for each percentile how many clients and how many orders we’re talking about.

 

Would you know how to fix this?

Best regards

Bas

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

Hi, @basrooz 

Based on your description, you want to create two calculated columns. Right?

For your needs, I'm sorry, I don't understand your Percentile's computational logic.

If you want to group based on Country, you can use FILTER() in combination with the EARLIER() function to implement grouping in a calculated column.

You can describe your calculation logic in detail, or you can provide us with your DAX formula so that we can better help you.

 

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors