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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
cshi
Frequent Visitor

How to show or hide based on the selection of a slicer

Hi,

 

I have a Gauge visualization, showing the difference between target and the actual number. There is a slicer controlling the visualization. However, the Budget indicator in the slicer doesn't have target and actual value. How can I hide the Gauge visualization when I select the Budget indicator in the slicer, while the visualization is shown when select on other indicators in the slicer?

 

Thanks!

1 ACCEPTED SOLUTION
Kishore_KVN
Super User
Super User

Hello @cshi , 
You can do two things to achieve it..
1. You can create bookmarks and pass those actions accordingly. 

2. This will be the best option: 
        Create a measure Highlighting Visual = IF(SELECTEDVALUE(Slicer_Column) = "Budget Indicator",0,1)
  Then drag this measure under the filters on this visual of Gauge Chart and under advanced filtering options use "is" 1. Then this will show the Gauge chart masked when Budget Indicator is selected and it shows data when others are selected.

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

View solution in original post

1 REPLY 1
Kishore_KVN
Super User
Super User

Hello @cshi , 
You can do two things to achieve it..
1. You can create bookmarks and pass those actions accordingly. 

2. This will be the best option: 
        Create a measure Highlighting Visual = IF(SELECTEDVALUE(Slicer_Column) = "Budget Indicator",0,1)
  Then drag this measure under the filters on this visual of Gauge Chart and under advanced filtering options use "is" 1. Then this will show the Gauge chart masked when Budget Indicator is selected and it shows data when others are selected.

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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