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 / Default focus on Galle...
Power Apps
Unanswered

Default focus on Gallery Item

(0) ShareShare
ReportReport
Posted on by 34

Hello,

 

I have a Gallery_1 with a table that has data from Dataverse with some filter on createdon. I am displaying every item as button with date Text. When a user selects the button it auto expands and shows information about the selected item. 

 

Now, I want to auto expand/Default of the gallery. If createdon = today expand/select this item of the gallery on load.

 

Tried with lookups but without luck and clearly unsure of how the apply the formula. Any approaches?

 

Categories:
I have the same question (0)
  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @PowerAppsUser2 

    For the focusing: Change the Default property of the gallery into Lookup(Gallery_1.AllItems,createdon = Today()).

    For the expanding, did you use a variable in your button to know which record to expand? If so, set the variable into something like Lookup(Gallery_1.AllItems,createdon = Today()) every time it resets.

  • PowerAppsUser2 Profile Picture
    34 on at

    Hello, Used GroupBy to show all the records that are created on each day. Segregated each day with Buttons. Created a button and inserted on gallery. On the button text field used the created on date to show the short date.

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard