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 a lookup in a g...
Power Apps
Unanswered

Filter a lookup in a gallery

(2) ShareShare
ReportReport
Posted on by 8

I have a gallery linked to a data source "Stocks" which has an 'Item ID' attribute which is a Lookup to our "Items" entity, which has a 'Lab Team' attribute which is a Lookup to our "LabTeams" entity

 

I have a dropdown above my gallery populated with the distinct LabTeam values in my Dataverse table, which when selected I want to filter the rows in the gallery on

 

My issue is that my gallery data source "Stocks" has no 'Lab Team' field - how would I access this from the gallery to filter its records to include the selected dropdown value?

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,885 Super User 2026 Season 1 on at

    Hello @Anonimous 

     

    You can try below

     

    Filter(Stocks,'FILED NAME' = Dropdown1.Selected.Result)

     

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • Anonimous Profile Picture
    8 on at

    Hi Rampprakash,

     

    Thank you for your reply 

     

    Unfortunately this solution can't work as our field name ('Lab Team') isn't in our data source

  • Ram Prakash Duraisamy Profile Picture
    5,885 Super User 2026 Season 1 on at

    Hello @Anonimous 

     

    If that is the case we need to create a lookup field, we need to have a relationship to filter the Gallery.

     

    Please mark as Answer if it is helpful and provide Kudos

     

     

    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • Anonimous Profile Picture
    8 on at

    Hi Rampprakash,

     

    I currently have the following expression to get the column into the gallery

     

     

    LookUp(LabTeams,LabTeam=LookUp(Items_1,Item=ThisItem.'Item ID'.Item).'Lab Team'.LabTeam).Name

     

     

    So i do have a relationship established, it's just via the Items table. 

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
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard