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

Make a gallery hidden the moment I open an app

(0) ShareShare
ReportReport
Posted on by

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
    153,034 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
    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
    153,034 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
    153,034 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
    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
    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

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard