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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors