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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
datadelta
Helper III
Helper III

Choose multiple points from dropdown and only get results that have the multi choice return

I'm trying to use a dropdown to choose more than one item and get my results only to reflect those that have the multi items.  Right now, I still get anyone that has either chosen.  I assume I need to make the multi select an "and" rather than an "or".

 

I've never done that but if there is a way to make that happen or if there is a better way, I'm asking for it.

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @datadelta ,

 

According to your statement, I think your requirement is that you want the slicer to work with "and" logic.

Here I create a sample to have a test.

vrzhoumsft_1-1717999186762.png

By default, if I select R2 and R3, it will show three results, but we only need A and B as result due to they both have R2 and R3 at the same time.

vrzhoumsft_0-1717999105287.png

Firstly, you need to create an Dimtable for slicer. Then create the relationship between two tables.

Measure:

And logic = 
VAR _COUNT1 = COUNT(DimRegion[Region])
VAR _COUNT2 = COUNT('Table'[Value])
RETURN
IF(_COUNT1 = _COUNT2,1,0)

Add this measure into visual level filter and set it to show items when value =1.

vrzhoumsft_2-1717999691403.png

 

Best Regards,
Rico Zhou

 

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

3 REPLIES 3
Anonymous
Not applicable

Hi @datadelta ,

 

According to your statement, I think your requirement is that you want the slicer to work with "and" logic.

Here I create a sample to have a test.

vrzhoumsft_1-1717999186762.png

By default, if I select R2 and R3, it will show three results, but we only need A and B as result due to they both have R2 and R3 at the same time.

vrzhoumsft_0-1717999105287.png

Firstly, you need to create an Dimtable for slicer. Then create the relationship between two tables.

Measure:

And logic = 
VAR _COUNT1 = COUNT(DimRegion[Region])
VAR _COUNT2 = COUNT('Table'[Value])
RETURN
IF(_COUNT1 = _COUNT2,1,0)

Add this measure into visual level filter and set it to show items when value =1.

vrzhoumsft_2-1717999691403.png

 

Best Regards,
Rico Zhou

 

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

 

Hello.  Upon further review this is not bringing back the isolated items.  I also looked at your results and the numbers don't seem to be reflecting the accurate totals.  It's isolating them but the totals aren't correct from what I can see.  When I used your formula, it still returns anyone that has one or the other, not one AND the other.  

 

Any thoughts?  Thanks again.

jgeddes
Super User
Super User

If you are looking for a solution that differs from the CTRL + click function of a dropdown slicer then could you share some sample data and your desired outcome?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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