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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Venkata17
New Member

Switch function for percentage

How to use Switch function for 20 to 40 Percentage and 40 to 100 percentage in same function.

1 REPLY 1
vicky_
Super User
Super User

SWITCH( TRUE(), 
    [PercentageMeasure] > 0.4 && [PercentageMeasure] <= 1, "Something here", 
    [PercentageMeasure] > 0.2 && [PercentageMeasure] <= 0.4, "Something else"

)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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