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 Automate / Formulat to calculate ...
Power Automate
Unanswered

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!

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    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

  • HolaOla Profile Picture
    6 on at

    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?

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    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

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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard