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 / Make a gallery hidden ...
Power Apps
Answered

Make a gallery hidden the moment I open an app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 


Im trying to make an app where it begins with only a search and a combo box. When the user inputs something into either one or both a gallery list is shown with those filters applied. I figured it out and the gallery isn’t shown when nothing is selected except for when I first open the app. I have to input something and erase it and then the screen is blank and works properly. How would I make that gallery hidden even when I have just opened it? 

Thank you. 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    Hi @Anonymous ,

    Make the Gallery Visible

    CountRows(Self.AllItems) > 0

     

    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.

    Visit my blog Practical Power Apps

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for taking the time to answer! It still isn’t exactly working the way I want. To clarify, I want to open up the app and have a blank screen with a search bar and combo box. When a user types into that search bar with a persons name, a gallery will pop up with that persons info. Or if they choose which department they are in with the combobox, a gallery with everyone in that department will show up. If they unselect or erase it, the screen will be blank again. I am current using this on the visible property of the gallery: 

     

    !IsEmpty(DepartmentFilter.SelectedItems) || !IsBlank(Name_Filter) 

     

    It works for when I select and unselect items. The gallery disappears when i unselect something and appears again when I select another thing. The problem I am having is when I initially open the app. The gallery that I want to be hidden is shown when I first open the app until I select and then unselect something? 

  • Verified answer
    WarrenBelz Profile Picture
    156,127 Most Valuable Professional on at

    @Anonymous ,

    Another alternative on the Visible (you need to add the output of your control)

    Len(DepartmentFilter.Selected.????) > 0 || Len(Name_Filter) > 0 

    You might also reset those two at Screen OnVisible

     

    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.

    Visit my blog Practical Power Apps

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

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello, 

     

    Thank you so much for your help, it solved my probelm. I have tried multiple times to accept your solution however, it keeps leading me to a page saying that authentication failed. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I tried it again and it worked!

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard