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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard