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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
YASHASHRI
Helper I
Helper I

Enable or Disable slicer on the basis of selection

Hey all, 
I have two slicer one is top division and second is flag.
My question is ----
If i am selecting Actimize then the flag slicer will be enabled that means we can select the value in the flag slicer. But if I am selecting Public safety then flag slicer should be disable that means we cannot select anything the the flag slicer.
Note: Both fields are in the separate table.

YASHASHRI_1-1670221696217.png

 

 

3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @YASHASHRI ,

 

Please try to:

  1. Select a visualization to make it active.

  2. Select Format > Edit interactions.

  3. Power BI adds filter and no impact icons to all of the other visualizations on the report page.

vtangjiemsft_0-1670918708135.pngvtangjiemsft_1-1670918721672.png

 

Please refer to the following document for more information.

Change how visuals interact in a report - Power BI | Microsoft Learn

 

Best Regards,

Neeko Tang

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

ValtteriN
Super User
Super User

Hi,

Here is one way to do this:

Add a new table:

ValtteriN_0-1670227438468.png

 

Create relationship:s

ValtteriN_1-1670227608243.png

Create field parameter:

ValtteriN_3-1670227874805.png

Place the parameter into slicer and select this:

ValtteriN_4-1670228008906.png

Place values from the created new table to other slicer:

ValtteriN_5-1670228043603.png

Now selecting division from slicer 1 slicer 2 is filtered:

ValtteriN_6-1670228068523.png

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Structure of my dataset is different. I am not able to create the relationship between Flag table with the Table (16). Is there any other solution?

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors