cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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 III
Super User III

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 III
Super User III

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

Highlighted
Frequent Visitor

Re: Filter table where value is not in another table

Thank you @timl that has worked perfectly! Smiley LOL

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,478)