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 / Gallery filtering by a...
Power Apps
Unanswered

Gallery filtering by a lookup column

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have a gallery as the below

 

IDAddressStatus
AxxxxxxActive
ByyyyyyInactive
CzzzzzzActive

 

This gallery is composed from two dataverse table

 

Table_1: With ID and address

Table_2: With ID and status

 

The items property of the gallery is Table_1, and column Status is a Lookup column with the formula Lookup(Table_2,ID=ThisItem.ID).Status.

 

I want now to create a dropdown with items ["Active","Inactive"] in order to filter the gallery by those values, but not sure how to do it. I also would need to use non-delegable functions as I will have several thousand of records.

 

Any suggestion will be much appreciated.

 

 

Categories:
I have the same question (0)
  • TikshaAggarwal Profile Picture
    on at

    Hi @derekma19,

    TikshaAggarwal_2-1668772580631.png

    TikshaAggarwal_1-1668772457734.png

    Here I have used collection to store static data. You may replace it with your DataSource. Then merge tables and filter the gallery data based on dropdown selected item.

     

    Filter(Combine_Tbl, Status=Dropdown1.Selected.Value) 

     


    Please click Accept as solution if this helped you solve your issue. This will help others find it more readily. It also closes the item. Please consider giving it Thumbs Up.

  • derekma19 Profile Picture
    on at

    Just to give an update on this. At the end I solved this merging queries using dataflows as I had to use this in any case to load data from CSV, so merging this and adding a query, I solved the issue.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard