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 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:
I have the same question (0)
  • 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

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard