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 / Drop-down selected val...
Power Apps
Unanswered

Drop-down selected values must load in the gallery

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have a list called Contribution list where there are three columns (Project name, comp, asset name - all three are combo box). Comp and project name is single selection and asset name is multi selection. Based on the Comp their respective Asset name is loaded in asset name combo box. 

My requirement is when all the three combo box values are selected it must display in the gallery below. When value is removed from combo box above the same value should be removed in gallery below. 

  • For e.g. When project name is peppermint, comp and asset name will be displayed for the same in gallery in the same row as 1
  • When next project name "support" is selected it must load in next row in the gallery as 2
  • Thr values in gallery must be displayed row wise based on the project name.

Any help/suggestion on this?

Thanks in advance. 

 

tmp_f6ad27b1-221e-451d-b758-442dfb33079b.png
Categories:
  • Sitaram525 Profile Picture
    14 on at

    Hi , as per my understanding are you trying to filter  the gallery items with three dropdowns. in that case you can use the syntax like :Gallery Items property" filter(Datasource,if(dropdown1.selected.value="abc","abc",if(dropdown1.selected.value="def","def"))&&if(dropdown2.selected.value="abc","abc",if(dropdown2.selected.value="def","def"))&&if(dropdown3.selected.value="abc","abc",if(dropdown3.selected.value="def","def")))

  • CU06020527-0 Profile Picture
    on at

    @Sitaram525 

    I am not filtering gallery. It should be like when a value is selected in combo box it must create a row in gallery. For e.g. If the project name has value Jan,Feb,march then in the gallery each month will be created in each row. When jan is deleted in combo box the same row will be deleted in gallery too

  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    @Sitaram525 ,

    The structure would be something like this (with your proper field and control names), however the order will be determined by how you sort the returned items

    Sort(
     Filter(
     DataSource,
     (
     Len(ProjectDropdown.Selected.FieldName) = 0 ||
     'Project Name' = ProjectDropdown.Selected.FieldName
     ) &&
     (
     Len(CompetencyDropdown.Selected.FieldName) = 0 ||
     Competency in CompetencyDropdown.Selected.FieldName
     ) &&
     (
     Len(AssetNameDropdown.Selected.FieldName) = 0 ||
     'Asset Name' = AssetNameDropdown.Selected.FieldName
     )
     ),
     YourSortField
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard