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 / Display records that N...
Power Apps
Answered

Display records that NOT EXISTS in another table

(0) ShareShare
ReportReport
Posted on by 122

Hi.

 

I need to display in a gallery only the records that do not exists in another table. These are the tables:

test_origintest_lookup
linel_linea (lookup column from test_origin.line and UNIQUE)
 user

 

And this is the current data stored in the tables:

test_origintest_lookup
111111, user1

222

222, user2

333

 

 

What I want is to display only the records from test_origin that not exists in test_lookup, in that case, only display the 333 record.

 

I have tried this solution from another post but doesn't work for me.

 
Filter(test_origin, !(line in test_lookup[@l_linea])) 

Expolio_2-1710848292526.png

Expolio_3-1710848312730.png

 

Any ideas about other ways to filter?

 

Thank you in advance!

 

 

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Expolio ,

     

    If look up column is single select, please try this.

    Filter(test_origin,Not(line in AddColumns(l_linea,"test",test_lookup.Value).test))
    

     

    If look up column is multiple select, please try this.

    Filter(test_origin,Not(line in AddColumns(test_lookup,"test",Concat(l_linea,Value,",")).test))
    

     

    Best regards,

    Rimmon

  • Samuel Rollón Profile Picture
    122 on at

    Thank you so much!

     

    After a little change, this worked for me.

    Expolio_1-1710851935185.png

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard