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 Gallery list ...
Power Apps
Unanswered

Filter a Gallery list by the result of a ComboBox

(0) ShareShare
ReportReport
Posted on by 8

Hi there! New user and sorry if this is a simple question to solve. 

 

I have two tables in Dataverse - one called "Project Details" and another called "Status Updates". In the "Project Details" table, I have a text column named "Project Name". In the "Status Updates" table, I have a lookup column that references the "Project Name" table from the "Project Details" table. This is so I can link the correct status updates to the correct projects. 

 

In my PowerApp I'm creating, I have a Combo Box to select the project I'd like to create a status update and it references the "Project Name" as its value from the "Project Details" table. What I'd like to do is have a Gallery for the different status updates for whichever project is selected in the Combo Box. I've been trying to use the filter equation for the Items in the Gallery, but I keep getting an error.

 

I've also noticed that for the Fields in the Gallery that the "Project Name" lookup field isn't an available option - could this be why I'm running into issues here?

 

Any help with a proper filter equation would be super helpful as I'm planning on having similar galleries for things like Project Milestones, Risks & Issues, Success Metrics, etc. and getting this filter functionality right will be important for future uses. 

 

Thanks!

Categories:
  • v-mingkz-msft Profile Picture
    Microsoft Employee on at

    Hi @newpwrappsuser,

    Do you want to have a gallery and filter the items in 'Project Details' table from Combobox selected items?

    The items property of dropdown is:

    'Project Details'

    You can set the items property of gallery as:

     

    ComboBox2.SelectedItems

     

    vmingkzmsft_0-1691402368214.png

     

     

     

     

    Best Regards,

    Kyrie

     

  • newpwrappsuser Profile Picture
    8 on at

    Thank you, Kyrie, for the proposed solution. However, that isn't giving me the functionality that I'm looking for. Let me try to further clarify.

     

    Below is how I've set up my "Project Details" table:

    newpwrappsuser_0-1691415390980.png

    I have a text column with the names of my project.

     

    Here's how I set up the "Status Updates" table:

    newpwrappsuser_1-1691415962393.png

    I have a lookup column for the "Project Name" referencing the "Project Details" table. 

     

    I have a Combo Box (that I've renamed "SelectProject") working correctly where it gives me the option to select a specific project:

    newpwrappsuser_2-1691416256546.png

     

    However, the Gallery is still giving me trouble. Here's what I see when I try your solution:

    newpwrappsuser_3-1691416391579.png

    I was able to play with this a little bit and use "SelectedText" to at least pull some info into the Gallery, but this isn't what I'm looking for either:

    newpwrappsuser_4-1691416495266.png

     

    What I'm hoping to see is that by selecting the project in the combo box, I'd see all the different status updates for the selected project. So for example, if I select "Test Project 1" I would want to see the 3 status update entries for that project which I have in my "Status Updates" table. 

     

    I'm sure there's probably something simple that I'm missing here. Again, thanks so much for trying to help me out! I really appreciate it!! 

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard