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 / AddDate excluding week...
Power Apps
Unanswered

AddDate excluding weekends - help

(0) ShareShare
ReportReport
Posted on by 15

Hi there,

 

I'd to create a planned finish column based on the input of planned start date and duration in a model driven app.

 

However, the syntax reports an error, and I couldn't get my head around it. Would you please shed some light on it?

 

Thanks in advance!

 

OctMonica_0-1712479577022.png

 

Jane

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

    Hi @OctMonica ,

     

    Because StartOfWeek is not recognized in the formula column, it resulted in an error. As a workaround, please try 

     

    If(
     Weekday('Planned Start')=1,
     7,
     Weekday('Planned Start')-1
    )

     

    Instead of

     

    Weekday('Planned Start',StartOfWeek.Monday)
    

     

     

    Best Regards,

    Bof

  • OctMonica Profile Picture
    15 on at

    Thanks Bof, I tried but it still pops error message saying dateadd has invalid arguments.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard