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
gvlado
Advocate III
Advocate III

How to filter list slicer values with another List slicer

Hello everyone
I have couple of Factories. Each factory has various machines. On each machine can be produced various products.
I would like to have tree visuals (List slicers)  Slicer A fo Factory, Slicer B for Machines, Slicer C for products.
Example/problem:

#1

If I chose Factory 7 in slicer A then in slicer B should be shown only machines that belongs to Factory 7.
Also in slicer C at the same time should be shown only products that can be prduced on these machines in Factory 7.

#2

Also should be reversible - If I chose product in slicer C than in slicer B should be only Machines whic can produce that product and in slicer A should be onyly Factories that can produce its product.

 

Hope I described problem correctly

Tree slicers with such interactions can be done (until now I did) with Attribute slicer but they are going to cancel/retire/abolish  Attribute slicer, so we have to be ready.

 

Thanks a lot - you have a coffe when we meet
👻

1 ACCEPTED SOLUTION
jaineshp
Continued Contributor
Continued Contributor

Hey @gvlado,

Based on my experience with similar requirements, here are the steps that worked for me:

1. Data Model Setup

  • Create three separate tables: Factories, Machines, Products
  • Establish proper relationships: Factories(1) → Machines(M) and Machines(1) → Products(M)
  • Set both relationships to bidirectional cross-filtering
  • Verify relationship cardinality is correct - avoid many-to-many where possible

2. Slicer Configuration

  • Add three List slicers to your report page
  • For each slicer, go to Format pane → General → Properties
  • Turn OFF "Show items with no data" - this is crucial for the filtering to work
  • Position slicers logically (Factory → Machine → Product flow)

3. Visual Interactions Setup

  • Select Format tab → Edit interactions
  • Ensure all three slicers have "Filter" interaction with each other
  • Avoid setting any slicer to "None" or "Highlight" - keep them all as "Filter"

4. Testing & Validation

  • Test forward filtering: Factory → Machine → Product
  • Test reverse filtering: Product → Machine → Factory
  • Check for any orphaned records that might cause unexpected behavior

5. Troubleshooting Common Issues

  • If seeing unrelated items, verify your relationships are active
  • For many-to-many scenarios between machines and products, consider creating a bridge table
  • Ensure no circular relationships exist in your model

This approach replaces Attribute slicers effectively and should handle your Factory 7 scenario perfectly. The key is getting the data model relationships right first.

 

Fixed? ✓ Mark it • Share it • Help others!


Best Regards,
Jainesh Poojara | Power BI Developer

View solution in original post

5 REPLIES 5
jaineshp
Continued Contributor
Continued Contributor

Hey @gvlado,

Based on my experience with similar requirements, here are the steps that worked for me:

1. Data Model Setup

  • Create three separate tables: Factories, Machines, Products
  • Establish proper relationships: Factories(1) → Machines(M) and Machines(1) → Products(M)
  • Set both relationships to bidirectional cross-filtering
  • Verify relationship cardinality is correct - avoid many-to-many where possible

2. Slicer Configuration

  • Add three List slicers to your report page
  • For each slicer, go to Format pane → General → Properties
  • Turn OFF "Show items with no data" - this is crucial for the filtering to work
  • Position slicers logically (Factory → Machine → Product flow)

3. Visual Interactions Setup

  • Select Format tab → Edit interactions
  • Ensure all three slicers have "Filter" interaction with each other
  • Avoid setting any slicer to "None" or "Highlight" - keep them all as "Filter"

4. Testing & Validation

  • Test forward filtering: Factory → Machine → Product
  • Test reverse filtering: Product → Machine → Factory
  • Check for any orphaned records that might cause unexpected behavior

5. Troubleshooting Common Issues

  • If seeing unrelated items, verify your relationships are active
  • For many-to-many scenarios between machines and products, consider creating a bridge table
  • Ensure no circular relationships exist in your model

This approach replaces Attribute slicers effectively and should handle your Factory 7 scenario perfectly. The key is getting the data model relationships right first.

 

Fixed? ✓ Mark it • Share it • Help others!


Best Regards,
Jainesh Poojara | Power BI Developer

I'm curious why they didn't implement the functionality like for Attribute Slicer or why they just didn't develop Attribute Slicer more - it was so simple and usable. 😒

jaineshp
Continued Contributor
Continued Contributor

I had the same thought before.

Glad to know we're on same page.

wow - so quick answer
You deserve bunch of coffe 👻

jaineshp
Continued Contributor
Continued Contributor

Hey @gvlado,

Sure will catch up soon!👍

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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