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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Auto change slicer selection based on revenue

4.JPG

 

Hi there,

I'm building a chart where the slicer selection "Status" will change from "L" to "W" if the Revenue reached a certain value. The Revenue number will be updated daily.

 

For example, when the Revenue reached 700k, the selection will automatically change from L to W.

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , I do not this you can do that on slicer you can display on the card or display some indicators

Measure = IF(sum(Table[Target])>= 700000, "W", "L")

 

https://community.powerbi.com/t5/Desktop/FORMAT-icon-set-for-use-in-a-data-card/td-p/811692

Anonymous
Not applicable

Hi @Anonymous, I am not sure if you can do that(Slicers are meant to filter data not the other way around).

If you just want to show one status at a time(ie- either L or W) based on your target value, you can create a measure:

Measure = IF([Target]>= 70000, "Status: W", "Status: L")

 

And place the measure as a card in your report page.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors