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 / Customising Gallery Di...
Power Apps
Unanswered

Customising Gallery Display in Power App for Upcoming Week's Dates

(0) ShareShare
ReportReport
Posted on by 394

Hi all,

 

Ive integrated a gallery into my Power App, connected to a SharePoint list named 'tracker.' I'm looking to configure the gallery to exclusively display dates from the upcoming Monday to Friday, based on the current date, while excluding any previous dates. For instance, if today is the 13th and it's Monday, the gallery should only showcase dates from today through the 17th (Friday) and filter out any orders from previous dates.

 

Is this possible? 

 

Screenshot 2023-11-13 at 15.10.45.png

 

 

Please help!

Categories:
  • QuentinDURIEZ Profile Picture
    577 Moderator on at

    Hi,

    You need to calculate the start of week and the end of week with today date, you can store these values in Variables or in Formulas

    Formula to get start of week : 

    [START OF WEEK] = DateAdd( Today() , (Weekday( Today(), 2 )-1) * -1 )

     Formula to get end of week :

    [END OF WEEK] = DateAdd([START OF WEEK], 4)

     

    Then, assuming the column "Date & Time" is a date type column, you can filter your SharePoint list like this example : 

    Gallery.Items = Filter([LIST] , '[DATE FIELD]' >= [START OF WEEK] And '[DATE FIELD]' <= DateAdd([END OF WEEK]; 1))


    Regards,

     

  • AB1 Profile Picture
    394 on at

    hi @QuentinDURIEZ 

     

    Thanks, so if I did this as formulas where in the gallery? 

     

    Screenshot 2023-11-14 at 11.28.05.png

     

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard