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 / filter gallery to show...
Power Apps
Answered

filter gallery to show all when first launching the application

(0) ShareShare
ReportReport
Posted on by 101

hello, I have a gallery with four filtering buttons based on the status

waterguy5_0-1657661829972.png


Each button has its OnSelect written as Set(varStatus, true). So for example, when clicking on pending, Set(varPending, true), etc.

The gallery items function is

Filter('myDataSource', SubmittedBy = EmployeeID.Text (ignore this part its for something else), Or(varFilter ="All", Status = varFilter))

^ the red is what im referring to for now. How do i get the gallery to show all records for default. right now when i launch it, i have to manually click a filter button.

Thanks in advance!!!!

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,779 Most Valuable Professional on at

    Hi @water-guy-5 ,

    I suggest you set varFilter it to "All" 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

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard