Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Formulat to calculate 6 weeks back based on entered response from form

(0) ShareShare
ReportReport
Posted on by 6

Hello,

I have a flow of a form that feeds into a List.   However I am having difficulties with a date and time formula. I would like to have a formula in a column labelled Kappa form submission that automatically calculates the date 6 weeks prior based on what the date input in the column planned release is

I am unsure if I enter this formula in the flow directly or if I have to create another flow for it and what the formula would be. 

Thank you!

 

  • HolaOla Profile Picture
    6 on at
    Re: Formulat to calculate 6 weeks back based on entered response from form

    Hello @ManishSolanki , Thank you so much! I have been trying for ages! You have saved me!

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Formulat to calculate 6 weeks back based on entered response from form

    Hi @HolaOla 

     

    Sry for the confusion, <> should not be included in the expression.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • HolaOla Profile Picture
    6 on at
    Re: Formulat to calculate 6 weeks back based on entered response from form

    Hello @ManishSolanki , thank you so much for your help. I tried entering the expression and replacing releasedate wit the dynamic content equivalent but I get an error that says that the expression is invalid. Should the <> be present?

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Formulat to calculate 6 weeks back based on entered response from form

    Hi @HolaOla 

     

    You could use expression to subtract 42 days (6 weeks) from the submission date:

    if(empty(<releasedate>),null,addDays(<releasedate>,-42,'yyyy-MM-dd'))

    pls replace 'releasedate' with the actual release date column in the above expression.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >