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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
patBear
Helper I
Helper I

hierarchical slicers as intersections (vs unions)

For hierarchical slicers, is there an option to have multiple selections operate as "intersections" rather than "unions"?  Here's an example to better explain.  For the slicer below, if I select "Mountain Bottle Cage" and "Road-150 Red, 44," the visuals will show me the union of this data.  What if I want to see the intersection: Road-150 Red bikes that come with a Mountain Bottle Cage?  (I'm limited on space so I'm not wanting multiple slicers if possible.)  Thanks.

 

patBear_2-1667333898686.png

 

 
1 ACCEPTED SOLUTION
Shaurya
Memorable Member
Memorable Member

Hi @patBear,

 

The first solution that comes to my mind to is to use two different slicers but since you've clearly mentioned that you don't want to take that approach, I suggest to go for some DAX that changes the OR logic in slicers to AND.

 

Here's a link that I have which will guide you how to do that.

 

https://medium.com/seismic-data-science/changing-or-to-and-logic-for-power-bi-slicers-1a6b20aee5f5

 

Works for you? Mark this post as a solution if it does!
Consider taking a look at my blog: Forecast Period - Previous Forecasts

View solution in original post

2 REPLIES 2
Shaurya
Memorable Member
Memorable Member

Hi @patBear,

 

The first solution that comes to my mind to is to use two different slicers but since you've clearly mentioned that you don't want to take that approach, I suggest to go for some DAX that changes the OR logic in slicers to AND.

 

Here's a link that I have which will guide you how to do that.

 

https://medium.com/seismic-data-science/changing-or-to-and-logic-for-power-bi-slicers-1a6b20aee5f5

 

Works for you? Mark this post as a solution if it does!
Consider taking a look at my blog: Forecast Period - Previous Forecasts

Thanks @Shaurya, this is exactly the article I needed!!

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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