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 Gallery data wh...
Power Apps
Answered

Filter Gallery data which not in another table

(0) ShareShare
ReportReport
Posted on by 43

Hi, i have created 2 tables in 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)

 

Thanks

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @calvinck00 Try this (change column names as needed),

    Filter('Fixed Assets', !('fixed assets number' in ShowColumns(Opname, "Fixed assets"))

  • calvinck00 Profile Picture
    43 on at

    It still doesnt work for me :(.

    calvinck00_0-1635212269413.png

     

    Here's my coloumn in Opname Table:

    calvinck00_1-1635212448341.png

     

    And here is my coloumns in Fixed Assets Table:

    calvinck00_2-1635212539853.png

     

  • calvinck00 Profile Picture
    43 on at

    It still doesnt work for me :(.

    calvinck00_0-1635212269413.png

     

    Here's my coloumn in Opname Table:

    calvinck00_1-1635212448341.png

     

    And here is my coloumns in Fixed Assets Table:

    calvinck00_2-1635212539853.png

     

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @calvinck00 "Fixed assets" must be within double quotes as I have shown you earlier.

  • calvinck00 Profile Picture
    43 on at

    It still did not work 😞

    calvinck00_0-1635226852109.png

    I dont know why, but is it because the "Fixed Assets" column in the Opname Table is a lookup field (not just a text column)?

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @calvinck00 Lookups work a bit differently. Try this (replace cr000 as seen in your column),

    With({x: 'Fixed Assets',
     y:Concat(ForAll(ShowColumns(Opnames, "cr000_Fixedassets"), ThisRecord.cr000_Fixedassets.'Fixed Assets Number'), ThisRecord.Value, "; ")
     },
     Filter(x, !('Fixed Assets Number' in y))
    )

     

  • calvinck00 Profile Picture
    43 on at

    Thanks its finally worked. Thank you for your help, i really appreciate it! 👍

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @calvinck00 Glad to help!

  • calvinck00 Profile Picture
    43 on at

    Hi, i have another question that i posted in this link:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Search-function-for-Lookup-Column/m-p/1328014

     

    Here's the question:

    I have created 3 tables in Dataverse.

    First table is "Location". (columns: IDLocation, Name)

    Second table is "Fixed Assets" that has lookup column to the first table (Location Table). (columns: FixedAssetsNumber, Location)

    Third table is "Opname" that has lookup column to the second table (Fixed Assets Table). (columns: IDOpname, Fixed Assets)

     

    How can i use search function if i want to filter a gallery that use Opname Table as the datasource by value of TextInput1 that contains Location Name?

     

    Thankyou! @CNT 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard