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 / 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard