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
Anonymous
Not applicable

Dax Formula Switch to filter values instead of on total Average

Hi,

 

I am new to using Switch, but this seems straight forward. How can I filter out the values? I want to compare the Value of each club vs the average. Now it just compares it vers the total average. Here is my measure. Thanks!

 

CF Labels, New Net Fee =
                Var Threshold = [Member Dues /Mbr /Month, CY Avg.]
                Var Selected = VALUES(Club[Club Number])
                Var Result =
                Switch(
                    True(),
                    [Member Dues /Mbr /Month CY] > [Member Dues /Mbr /Month, CY Avg.], "🏅")
                    Return
                    Result
 
I want the Gold Metal to show up under each club instead of the total if it above the average.
 
Thanks!
 
Metals.png

 

1 ACCEPTED SOLUTION
wlknsnBI
Helper II
Helper II

Something like this?

wlknsnBI_0-1662664939032.png

 

View solution in original post

1 REPLY 1
wlknsnBI
Helper II
Helper II

Something like this?

wlknsnBI_0-1662664939032.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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