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

Multi Selected Filter showing more values that it should

I currently have two tables in this dataset. 

Table 1:                                                                       Table 2:

 

Company Name            Location                                Company Name               Location Type

------------------           -----------------                      ------------------              ------------------

Breeze                           Chicago, Illinois                      Breeze                             Office

Alter                              Denver, Colorado                   Breeze                             Factory

                                                                                     Alter                                Office

 

It is a one-many relationship and I want to be able to filter all of our locations based off the location type. Currently if I select "Office" it shows Breeze and Alter locations. If I do multiselect and click "Office" and "Factory" it still shows both Breeze and Alter. I would only want it to show Breeze since this company contains both location types. Any ideas?

7 REPLIES 7
v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

According to your description, you want to make the table only shows “Breeze” when you select both location types, you can try my steps:

  1. Create a measure in Table 2:
Measure =

var _1=CALCULATE(MAX([Company Name]),FILTER(all('Table 2'),[Location Type]="Office"))

return

IF("Office" in SELECTCOLUMNS('Table 2',"1",[Location Type])&&

COUNTX(ALLSELECTED('Table 2'),[Location Type])>2,

IF(MAX('Table 1'[Company Name ])=_1,1,0)

,1)
  1. Apply this filter for the table visual:

v-robertq-msft_0-1611556423971.png

 

And you can get what you want, like this:

v-robertq-msft_1-1611556423996.png

 

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

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

Anonymous
Not applicable

With this example though if I select no filters it is only showing Breeze. I would like to be able to display all possible locations on a map so this would never show all results to my users. Not to mention when a location ends up having 5 different location types "Office", "Factory", "Warehouse", etc. not sure how your measure would hold up.

wainnoce_0-1611584860775.png

 

Anonymous
Not applicable

Hi @Anonymous 

 

Whatever you select in one field would filter what is against it in the other field, based on your thing, I think you can make a concatenated column say ex office-factory , office, factory in one column and whenever you select anything from this concatenated column the results would pop out based on your expectation.

 

Please mark this as solution if you think this can solve your problem buddy.

Anonymous
Not applicable

I get what you are going for but I dont think this would work. If I was to select "Office" in a filter then it would display all office locations. If I selected both "Office" and "Factory" it should show all locations that have an "Office" and "Factory" on-site. With your proposed filter idea there would be now way to anticipate what combination I am selecting once 5+ location types get thrown into the mix.

Anonymous
Not applicable

The issue with this is we have up to 10 different location types and some locations have up to 5 types. Would make the filter not user friendly. 

Anonymous
Not applicable

What about giving a same slicer and dragging one field over the other. Have you tried thay?

Anonymous
Not applicable

Not sure I get what you mean.

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