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 / Filtering gallery with...
Power Apps
Answered

Filtering gallery with dropdown not working properly

(0) ShareShare
ReportReport
Posted on by

Hello - hoping someone can help me - 

Very simple what I'm looking to do, and that's use a dropdown menu to filter a gallery created with a Sharepoint list.  Once the gallery is filtered, I want the user to select an item from the gallery and have the "Title" populate in the Data Card Value (Diversity Influencer Name is the form control). Here are the details: 

Screenshot of Screen1:

jessicadduffey_1-1719353306857.png

Screenshot of SharePoint List/Data Source:

jessicadduffey_3-1719354543819.png

 

 

Screen1: 

OnVisible: 

ClearCollect(CollectDiv, {Value:"ALL"});
Collect(CollectDiv, Distinct('Diverse Volunteers for Interview Panels',Division.Value))

 

Drop Down Menu: DivisionChoices:

Items: CollectDiv.Value

Here's a screenshot of the collection:

jessicadduffey_2-1719353646173.png

Default: "ALL"

Please note that all 6 Values are showing up in the DivisionChoices Drop Down

 

Gallery:

(located in Edit Form Control)

Items: If(DivisionChoices.Selected.Value = "ALL",'Diverse Volunteers for Interview Panels', Filter('Diverse Volunteers for Interview Panels',Division.Value = DivisionChoices.Selected.Value))
OnSelect: UpdateContext({VarSelPer:ThisItem}); Reset(DataCardValue3)
 
DataCardValue3:
(located in Edit Form Control)
Default: VarSelPer.Title
 
There are two issues happening that I cannot seem to figure out:
1. The Gallery is only filtering for ALL and CROP SCIENCE.  When I select PHARMACEUTICALS, CONSUMER HEALTH, ABOVE COUNTRY or ENABLING FUNCTIONS, the gallery is blank.  ALL and CROP SCIENCE are the first two choices in the drop down menu.
2.  The Title (should be first and last name) of the selected gallery item is not populating in DataCardValue3.
 
Does anyone have guidance on a potential fix?
 
Thanks in advance!
 
Categories:
I have the same question (0)
  • EddieE Profile Picture
    4,641 Moderator on at

    @jessicadduffey 

    Gallery:

    (located in Edit Form Control)

     

    Pretty sure this is your issue. As far as I'm aware, galleries don't work inside Forms and should never be placed inside a form - unless PowerApps has had a design change that allows this to work now?

     

  • Verified answer
    jessicadduffey Profile Picture
    on at

    @EddieE  - this must have been a bug because the filtering of the gallery inside the form control is working fine now? 🤔

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 739 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 268

Last 30 days Overall leaderboard