cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bowdee
Level: Powered On

Filter table where value is not in another table

Hi,

 

I have a table that contains a list of locations 'TableStockLocation', this is being used to populate a gallery, I have another table which contains a list of locations that have had usernames assigned to the locations 'TableUserAssigned'. In my gallery, I only want to see the locations from the TableStockLocation table that do not appear in the TableUserAssigned table, so basically it needs to do the opposite of this formula Filter(TableStockLocation, Location in TableUserAssigned.Location) 

 

Table: TableStockLocation

Column: Location

 

Table: TableUserAssigned 

Column: Location

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Filter table where value is not in another table

Hi @Bowdee

You should hopefully be able to do this with the Not function.

Filter(TableStockLocation, 
       Not(Location in TableUserAssigned.Location)
) 

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Re: Filter table where value is not in another table

Hi @Bowdee

You should hopefully be able to do this with the Not function.

Filter(TableStockLocation, 
       Not(Location in TableUserAssigned.Location)
) 

View solution in original post

Bowdee
Level: Powered On

Re: Filter table where value is not in another table

Thank you @timl that has worked perfectly! Smiley LOL

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 391 members 6,668 guests
Please welcome our newest community members: