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 / Gallery on Left; Detai...
Power Apps
Unanswered

Gallery on Left; Detail DisplayForm on Right not showing First Gallery Item on StartUp

(0) ShareShare
ReportReport
Posted on by 117

Hello!

 

I have a PowerApp screen that shows a summary gallery (share point list) on left side that shows Status/Ticket Description. On the right-hand side of the screen is a detail display form which shows the additional 15 fields. On the startup of the app, no data displays on detail display form (on the right-hand side) as nothing was selected from the gallery.

 

On start up of app, how can the detail display form be set to show the details for the first gallery item displayed even though it is not selected? The DataSource for the detail display form is the share point list. 

 

Thank you in advance!

Categories:
I have the same question (0)
  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    What is the item property of the detail display form?

  • luvagoldenk9 Profile Picture
    117 on at

    Hi Jeff!

     

    At first it was blank.

     

    Next I tried using an initializing variable (varFirstTime set to true onStart) but trying to figure out how to display the first record of the gallery without it being selected - this would go in the XXX part. The gallery Items is the share point list:

     

    If(!varFirstTime,galleryLead2.Selected, XXX)

     

    Thoughts?

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @luvagoldenk9 

    Try setting the Item property of the form to

     

     

    Coalesce(
     GalleryLead2.Selected, First(
     GalleryLead2.AllItems
     )
    )

     

     

  • luvagoldenk9 Profile Picture
    117 on at

    @Drrickryp that worked! Learned about Coalesce functionality too so thank you!!

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    You're welcome!You're welcome!

     

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard