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 / Show data in Gallery
Power Apps
Answered

Show data in Gallery

(0) ShareShare
ReportReport
Posted on by 248

Hello, 

 

i have gallery to show my data in powerapps

Capture3.PNG

is it possible to set my default gallery to blank or not show any data not like the picture above, so i want to show it based on what i search on textinput

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey @AdhamFH ,

     

    Not sure if this would work, but you could try changing the Visible property of the gallery to something like:

     

    If(

    IsBlank(SearchBoxField),

    false,

    true)


    where SearchBoxField is the name of the text input of your search box. Granted this only hides the gallery until you start typing in the search field. There might be a way to make it so that the gallery stays hidden until a result matches, but I'm not sure how to go about that. I'll play around and see what I come up with.

     

    Hope this helps!

     

  • AdhamFH Profile Picture
    248 on at

    thank you @Anonymous it really helps

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @AdhamFH ,

    Have you solved your problem?

    Do you want to display the Gallery Items only when you type some search text within the Search box?

     

    I have made a test on my side, please consider take a try with the following workaround:

    Solution1:

    Set the Items property of the Gallery to following:

    If(
     IsBlank(TextSearchBox.Text),
     Filter(DataSource, false),
     Search(DataSource, TextSearchBox.Text, "Column1", "Column2", ...)
    )

     

    Solution2:

    Set the Visible property of the Gallery to following:

    If(
     IsBlank(TextSearchBox.Text),
     false,
     true
    )

    Set the Items property of the Gallery to following:

    Search(DataSource, TextSearchBox.Text, "Column1", "Column2", ...)

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard