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
HansWeltenV
New Member

How to prevent my slicer to hide the items that are filtered out by another slicer?

Hi PBI Community,

In my company I need to work by the DirectQuery mode to visualize data from the following table:

thumbnail.jpg

My assignment is to the following table with two slicers of it:

image001.png

Now I've been told by my customer that they want to keep all items in the top Product Category slicer visible, even if they're not available in the selected company:

Not this:image006.pngbut this:image006b.png

So in the case visible above, my customer wants to see an empty table when you set the Product Category slicer to 'Cars'.

 

Since it's in directquery mode I can't add columns. I can only add measures. 
I'm not able/allowed to make changes in the source file.

 

Can anyone help me figure out how to solve this problem?

Thanks in advance.

P.S. Above is a simplified example, in reality this list consists of more companies and a total of more than 10K products.

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @HansWeltenV 
You can manipulate your slicers with format options from the report view.
Follow these steps:

1. Select your first slicer (company name in your case) + in format options click on "edit interactions":

Ritaf1983_0-1688822658477.png

2. Turn off the filtering option:

Ritaf1983_1-1688822732458.png

Result of Selecting category and subcategory which not exists

 

Ritaf1983_2-1688822887577.png

Link for sample file: Here 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

4 REPLIES 4
HansWeltenV
New Member

This works great.
Now I've got a further question. Besides the interaction between visuals, how to change the interaction of a visual (same slicer in this case) when you reach this tab by drill through (that filters it to one item of "company").
I tried selecting the drill through filter and see if I could change the relation of that slicer to it, but with the drill through I don't see any edit interactions option.

HansWeltenV_0-1688905414733.png

Thanks in advance!

HansWeltenV
New Member

Great!  That seems like it should work. I'll try it tomorrow. 

Thanks!

Ritaf1983
Super User
Super User

Hi @HansWeltenV 
You can manipulate your slicers with format options from the report view.
Follow these steps:

1. Select your first slicer (company name in your case) + in format options click on "edit interactions":

Ritaf1983_0-1688822658477.png

2. Turn off the filtering option:

Ritaf1983_1-1688822732458.png

Result of Selecting category and subcategory which not exists

 

Ritaf1983_2-1688822887577.png

Link for sample file: Here 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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