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 / Dynamic Week Ending Date
Power Apps
Unanswered

Dynamic Week Ending Date

(1) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
I need to be able to calculate and display the end of week date in my Power App.

I am using the following to get a hardcoded week ending date.

The output for the below is 2/15/2025. How do I make this formula dynamic, so that
the content in the label changes to the appropriate week ending date every Sunday.

Week start is Sunday, week ending is Saturday.
 
With({year:2025 , weekNo:7},
      With({weekDate: DateAdd(Date(year,1,1), 7* weekNo)},
           DateAdd(weekDate,
                   -(Weekday(weekDate)),
                  TimeUnit.Days
           )
      )
)
Categories:
I have the same question (0)
  • Verified answer
    satya_vijay_2025 Profile Picture
    76 on at
    Will this work for you ?
     
    DateAdd(Today(), 7 - Weekday(Today(), StartOfWeek.Sunday), TimeUnit.Days)

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