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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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