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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Geteneh
Regular Visitor

Changing my weakth quintile percentile to five categories

Dear team

Could you support me how to convert my percentiles values to five categories?

See attached

Geteneh_0-1697114807558.png

 

1 ACCEPTED SOLUTION

Thank you, it works now

View solution in original post

3 REPLIES 3
DallasBaba
Skilled Sharer
Skilled Sharer

@GetenehYou can change the column from text to a Decimal number and set the number on decimal you would like to display.

dallasbabatunde_0-1697126829589.png

 

You can use the following code to set a dynamic category base on your preference 

Category =
SWITCH(TRUE(),
    [IWItot] <= PERCENTILE.INC([IWItot], 0.2), "Very Low",
    [IWItot] <= PERCENTILE.INC([IWItot], 0.4), "Low",
    [IWItot] <= PERCENTILE.INC([IWItot], 0.6), "Moderate",
    [IWItot] <= PERCENTILE.INC([IWItot], 0.8), "High",
    [IWItot] <= MAX([IWItot]), "Very High"
)

dallasbabatunde_1-1697127025152.png 

 

Let me know if this works

 

Thanks

 
Spoiler
 
 
Thanks
Dallas

Thank you, it works now

@Geteneh Thanks for letting me know this works for you.

Kindly Like the post and consider accept it as the solution  to help the other members find it more quickly.

 

Thanks
Dallas

Thanks
Dallas

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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