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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Slicer using tags with and logic

I have data from multiple clients to display in a dashboard. Each client has data in the fact table and recrods in a dim table that correspond to tags for each client, ie non profit, related to animals, candidates etc. Clients can have multiple tags. I am trying to use a slicer that contains these tags to filter my data to clients with those tags, but I want to only include clients with all tags selected, not clients with at least one selected. How can I make this happen? This seems like it should be easy, but any solution I have found does not match this case. 

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

So what you want is an "And" slicer.
Check out my solution in the thread below, it's definitely what you want.
AND filter or Slicer visual

 

More:
Category Combination Purchase

 

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @Anonymous 

So what you want is an "And" slicer.
Check out my solution in the thread below, it's definitely what you want.
AND filter or Slicer visual

 

More:
Category Combination Purchase

 

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , You have try a measure like, If Tag are in different rows

 

new measure =
var _tag = countx(allselected(clinet), client[Tag])
return
countx(filter( summarize(client, Client[Client], "_1",count(client[Tag]) ) , [_1] =[_tag]), [client])

 

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors
Top Kudoed Authors