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

 

flow image.PNG
Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,169 Moderator 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
    Manish Solanki Profile Picture
    15,169 Moderator 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard