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 with deep...
Power Apps
Answered

filter table with deep relationship dataverse table in power app

(0) ShareShare
ReportReport
Posted on by 12

hello guys i have a question about how we can filter with deep relationship with power fx in power app

so my data model look like

 

LOTPODPO
LOT NUMBER [PK]POD ID [PK]PO ID [PK]
POD ID [LOOKUP]PO ID [LOOKUP] 

 

so how can i achieve all data from LOT table by select PO ID

 

I have try filter PODID from PO ID then there is a lot of POD ID and then i cannot continue to get all LOT from selected all POD ID

something that i've try is

 

Filter('Item LOTS','POD ID'.'POD ID' = Gallery2.AllItems.'POD ID')

 

*Gallery2 = Filter('POD','PO ID'.'PO ID' = "PO-0150")

 

I wonder how is it possible to compare all item from table to filter item not filter by only selected item

 

thanks

Categories:
  • newcomer Profile Picture
    12 on at
    Filter('Item LOTS','POD ID'.'PO ID'.'PO ID' = "PO-0150")

    another try filter in 1 gallery but still not work

  • newcomer Profile Picture
    12 on at

    for in SQL it be something like this

     

    SELECT * 
    FROM LOT join POD join PO on LOT.POD ID = POD.POD ID
    WHERE POD.PO ID = "PO-0150"

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @newcomer ,

     

    Please try below formula:

    With(
     {Items: Filter('POD','PO ID'.'PO ID' = "PO-0150")},
     Filter('Item LOTS','POD ID'.'POD ID' in Items.'POD ID')
    )

     

    Best regards,

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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard