web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter table where val...
Power Apps
Answered

Filter table where value is not in another table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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!

Categories:
I have the same question (1)
  • Verified answer
    timl Profile Picture
    36,774 Super User 2026 Season 1 on at

    Hi @Anonymous

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

    Filter(TableStockLocation, 
     Not(Location in TableUserAssigned.Location)
    ) 
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @timl that has worked perfectly! Smiley LOL

  • calvinck00 Profile Picture
    43 on at

    Hi, this code is not work for me. I have 2 tables (Dataverse)

     

    First Table is "Fixed Assets", Second Table is "Opname".

     

    I want to display fixed assets data (from the first table) that did not in the second table.

    Additional information is: 

    Table Fixed Assets coloumns: 

    Name, fixed assets number (primary)

     

    Table Opname coloumns:

    Fixed assets (lookup), ID_Opname (primary)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard