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 / Insert custom row to g...
Power Apps
Answered

Insert custom row to gallery that generate from sequence function

(0) ShareShare
ReportReport
Posted on by 4

Hi everyone,

 

I try to build a screen that will shown a 3-days calendar with daily calendar event in it. I have complete that by using nested gallery.

Now I want to add another column that contains the time at the left side (I have attached the picture of the result that I want)

 

Is it possible to put the time in the same gallery as I need it to scroll together with the Event vertical gallery

 

Does anyone know about how to do this, I try on this for a days now 😞

 

Thank you in advance.

 

gal_Days_Horizontal Items:

 

 

ForAll(
 Sequence(3),
 {
 Value: selectedDateX + Value - 2,
 NextDay3D: selectedDateX + Value - 1
 //selectedDateX default is Today() and will be change to next/previous day when user 
 click next/previous
 }
)

 

 

 gal_Events_Vertical Items:

 

 

Filter(MyCalendarEvents,Start < ThisItem.NextDay3D And End >= ThisItem.Value)
// MyCalendarEvents is a collection that stored all calendar events.

 

 

 

Screenshot_1.png
Screenshot_2.png
Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @VeGETz :

    You could set the gal_Events_Vertical Items to:

    ForAll(
     Sequence(24,0,1), 
     {
     Label:Text(Value,"00")&":00",
     StartDataTime:DateAdd(ThisItem.NextDay3D,Value,Hours),
     EndDataTime:DateAdd(ThisItem.NextDay3D,Value+1,Hours)
     }
    )

    Add a list box into gal_Events_Vertical and set it's items:

    Filter(
     MyCalendarEvents,
     Start <= ThisItem.StartDataTime And End >= ThisItem.EndDataTime
    )
    
     
    
    
    

    vbofengmsft_0-1632193885592.png

     

    Best Regards.

    Bof

     

  • VeGETz Profile Picture
    4 on at

    Thank you so much. This is what I need. Now is it possible to synchronize scrolling on these all vertical galleries?

     

    I see there is a way to do that posted here

    by using that method I need to put all galleries into data card of scrollable canvas but when I trying to do it not let me put gallery in data card. Is there something I miss or that is not possible anymore?

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard