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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Priem_fut_ael
Regular Visitor

Slicer with function ANd

If multi selected in slicker Shop_1 and Shop_2, in table visualisation displayed all products from this shops. 

 

How to display only those products that are available in two stores at the same time? Need method with using slicker.

1 ACCEPTED SOLUTION

Hi,

Please find attached the PBI file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

6 REPLIES 6
Priem_fut_ael
Regular Visitor

Ashish_Mathur, this works great, thank you so much! 🙂 

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Priem_fut_ael
Regular Visitor

my example.jpg

Please help me! I think the solution to the problem should be simple. Once again, the result of the selection on the slicer should be only products that are available simultaneously in all selected stores.

It looks like inner join in sql, but in my case there is only one table.

Priem_fut_ael
Regular Visitor

Thanks, good article, but it doesn't fit.

I have 1 table and 1 slicer. 

 

Data in my Table:

Products;Shops

Product1;Shop1

Product2;Shop2

Product3;Shop3

Product1;Shop2

 

If selected Shop1 and Shop2 in slicer, result data in visual table:

Product1;Shop1

Product2;Shop2

Product1;Shop2

 

But I need to get the result:

Product1;Shop1

Product1;Shop2

 

Perhaps I missed something?  I understand that I have to use dax and use measure to filter the table. Please help me. 

Hi,

Please find attached the PBI file.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
vicky_
Super User
Super User

Checkout this blogpost for implementing an OR slicer: https://apexinsights.net/blog/or-xor-slicing

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.