Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Frequent Visitor

Slicer to display only applicable values

Hi there,


I have two tables 

Country(Country Code, Country Name, Continent Code), a look up table with all the 200+ countries

Building (Country Code, City Code, Building Code, Building Name)


The two tables have

  • one to many relationship on the Country Code
  • cross filter direction = both


I then added two slicers

slicer A on Country name

slicer B on Building name


Apparently, Slicer B will have all the buildings we have globally. I am expecting slicer A to display only the countries we have buildings in. But it shows all the 200+ countries (including the ones that we don't have any buildings in).


How to solve this problem?


Thank you!


Helper II
Helper II


This seems to work totally fine for me....please make sure that these are configuration of the relationships. If you want the expected output.



Helper V
Helper V

Something like this was just posted by @SWoodring on this post:


I don't know if the user's problem was fixed, but here ya go. 


To achieve the behavior you desire, where clicking on a salesperson in the "Sales by Salesperson" matrix doesn't override the region filter from the "Sales by Region" matrix, you can use a technique called "Sync Slicers" and "Edit Interactions." Here's how you can set this up:

  1. Sync Slicers:

    a. In Power BI, go to the "View" tab in the "Visualizations" pane.

    b. Click on "Sync slicers."

    c. In the "Sync Slicers" pane, click on "New" to create a slicer.

    d. Choose a slicer type (e.g., a dropdown or list) that represents the regions. Connect it to the "Sales by Region" matrix.

    e. Name your slicer appropriately, e.g., "Region Slicer."

    f. Adjust the slicer's appearance and position on the page as needed.

  2. Edit Interactions:

    a. Go to the "Format" tab in the "Visualizations" pane.

    b. Click on "Edit interactions."

    c. You'll see a set of icons next to each visual on your page. These icons represent the interaction between visuals.

    d. Click on the icon next to the "Sales by Salesperson" matrix.

    e. A menu will appear. Choose "Keep all filters" or "Keep all filters and highlight." This will ensure that when you click on a salesperson, it doesn't override the region filter applied by the "Region Slicer."

    f. Click "Done" to save your changes.

Now, when you click on a region in the "Sales by Region" matrix, it filters the "Sales by Salesperson" matrix, and subsequent clicks on individual salespeople won't affect the region filter.


Hope this help,



Frequent Visitor

Hi Cam,

Thank you first for the reply!


However, it didn't seem to work for me even I sync-ed the slicer.


After-all, i am expecting the country slicer to display only a subset of the all the countries in the first place because the cross filter direction (both) was supposely doing this for me.


In addition to solve this problem, I'd also like to understand why it didn't work.



Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors