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 / Matching blank horizon...
Power Apps
Unanswered

Matching blank horizontal gallery with date headers

(0) ShareShare
ReportReport
Posted on by

Hi all, 

 

I created a Blank horizontal gallery with timesheet lines. In this gallery, I created a vertical container with labels to display the information for that timesheet line. On top of the gallery, I created headers with the dates of a certain week, based on a datepicker (so 7 dates). How can I make sure that, for each date, the horizontal gallery only shows the items of the specific day that matches the date in the header? 

 

Hope anyone can help!

Thanks in advance.

 

Categories:
I have the same question (0)
  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at

    Hi @fleur2 ,

     

    According to your statement, I make a demo for your reference.

     

    My data source list from SharePoint is named "Datetime". I will use below function to get weekday of that datetime and determine whether we should display it.

     

    ClearCollect(bb,Filter(Datetime,Weekday(Datetime,2)=1))

     

    vwenjuanmsft_0-1681453539504.png

     

    If I pick Friday's button, only today's item will be displayed:

    vwenjuanmsft_1-1681453596970.png

     

    Refer to this link for details about weekday() function:

    Day, Month, Year, Hour, Minute, Second, and Weekday functions in Power Apps - Power Platform | Microsoft Learn

     

    Best regards,

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard