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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Turnipface
Advocate I
Advocate I

Only display values that include ALL slicer selections - not Either/Or

Hey PowerBI Community,

I have a challenge that's addressed in another thread, but it does not entirely work for me.

I have this .pbix file that i've made to simulate my environment: https://we.tl/t-scjeXQwrVz 
On one table, I have the Orders (location doesn't matter)

Order IDLocation
1Earth
2Mars
3Moon
4Earth
5Earth

 

On another table, i have the Products. Both tables are linked by Order ID

Order IDProduct
1Chair
1Cucumber
2Chair
2Cucumber
3Chair
4Chair
5Chair
5Cucumber

 

What i need to find out is:  Orders that have both Chairs and Cucumbers. 
How would i go about creating a slicer that will filter based on ALL selected values in it? In the above case, that'd mean that it'll result in 3 total orders - 1, 2 and 5 because they're the only ones that have both items.

If i do that via a standard slicer by Product, i will get orders that have either a Chair or a Cucumber. (see picture below)

Capture.PNG

 

Any help with this will be highly appreciated! 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

This was the purpose of my Patient Cohort Quick Measure:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Patient-Cohort/m-p/391883

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

This was the purpose of my Patient Cohort Quick Measure:

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Patient-Cohort/m-p/391883

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg, thanks for creating this!

 

I'm trying to take it to the next level and filter the "Patients" table based on the concatenated list of patients that match the selection in the filter. Any ideas on how I might do that?

That's precisely what i was looking for! The Count of Cohorts in particular will really help me out.

Thanks for your solution!

 

Cool, glad I added that variation then!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.