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

DAX: Need to create a another column for Percentage Slicers

Hi All,

Required assistance, I have created a column by using Divide function, result is showing in percentage.
Now i want to create another column/measure by using this, where i have segregate 0 to 20%, 21% to 50% &  >51%, so that i can use this as slicer.

DAX.PNG

 

 

 

 

 

 

 

 

Regards,

 

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @harirao ,

 

You can create a column using the following DAX expression:

 

Percentage Grouping = IF((Percentage[Percentage]*100) >= 0 && (Percentage[Percentage]*100) < 21, "0 to 20%",    IF((Percentage[Percentage]*100) >= 21 && (Percentage[Percentage]*100) < 51, "21% to 50%"), "> 51%"))
 
NOTE: Replcae Percentage[Percentage] column in above DAX with your percentage column.
 
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
 
Thanks,
Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@harirao 

Refer: Binning and grouping

https://radacad.com/grouping-and-binning-step-towards-better-data-visualization

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Pragati11
Super User
Super User

Hi @harirao ,

 

You can create a column using the following DAX expression:

 

Percentage Grouping = IF((Percentage[Percentage]*100) >= 0 && (Percentage[Percentage]*100) < 21, "0 to 20%",    IF((Percentage[Percentage]*100) >= 21 && (Percentage[Percentage]*100) < 51, "21% to 50%"), "> 51%"))
 
NOTE: Replcae Percentage[Percentage] column in above DAX with your percentage column.
 
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
 
Thanks,
Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Thanks, this solution worked.

Regards,

Hari

Hi @harirao ,

 

Can you please accept the solution which worked for you?

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Stachu
Community Champion
Community Champion

Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).

Column1 Column2
A 1
B 2.5


Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

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