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 shows as blank...
Power Apps
Unanswered

Gallery shows as blank until combo box choice has been selected.

(0) ShareShare
ReportReport
Posted on by 14

Hi everyone, I have the following code, which works, but the gallery shows as blank until a choice in Combobox1 is selected.

 

I want the gallery to show all items until a filter is selected.

 

Can anyone suggest a solution?

 

Search(
 If(
 !IsEmpty(ComboBox1.SelectedItems) Or !IsBlank(ComboBox1.SelectedItems),
 Filter(
 'LAD Stakeholder List',
 Stakeholder_x0020_Group.Value = Dropdown1_1.Selected.Value Or Dropdown1_1.Selected.Value = "All",
 Concat(ComboBox1.SelectedItems,Value) in Concat(ProjectPhases,Value)

 ),
 'LAD Stakeholder List'
 ),
 TextSearchBox1.Text,
 "Title",
 "Project_x0020_Lead_x0020_Name"
)

 

  

Categories:
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @Jv1605 ,

     

    You would need to check if combox is empty or blank.

    Check https://youtu.be/5dSk5iOgT68

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

  • Jv1605 Profile Picture
    14 on at

    Hi Reza,

     

    Thanks for your help! your youtube videos have been a massive help so far, I've actually watched quite a few and didn't realise you were active on here 😊. I've changed the code as suggested in your video, but it still only shows all items in the gallery when an choice in the combobox has been selected. 

     

    Any idea where I'm going wrong?

    Search(
     Filter(
     'LAD Stakeholder List',
     !IsEmpty(ComboBox1.SelectedItems) || !IsBlank(ComboBox1.SelectedItems) || Stakeholder_x0020_Group.Value = Dropdown1_1.Selected.Value || Dropdown1_1.Selected.Value = "All",
     Concat(ComboBox1.SelectedItems,Value) in Concat(ProjectPhases,Value)
    
     
     ),
     TextSearchBox1.Text,
     "Title",
     "Project_x0020_Lead_x0020_Name"

     

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard