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

Notifications

Announcements

Community site session details

Community site session details

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

Filter table where value is not in another table

(0) ShareShare
ReportReport
Posted on by

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 (0)
  • Verified answer
    timl Profile Picture
    36,383 Super User 2025 Season 2 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard