web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a date field = ...
Power Automate
Unanswered

Create a date field = today's date + 1 month to show in my HTML table and email

(0) ShareShare
ReportReport
Posted on by 42

I have created a flow to identify which files in a sharepoint library require review.  Each file has a nominated reviewer.

So it gets the file properties for files that meet a number of filter queries.  It pulls out the email addresses, uses a variable to take out the duplicated email addresses, creates a HTML table and sends one email to each reviewer listing all the relevant files they need to review.

What I would like to do, is add an additional field to the HTML table to create a Review Deadline date based on today's date + 4 weeks (I know the basic expression for this).  This date would then be included in the email and I will add an extra step to update the file properties in sharepoint with that date.

What I am struggling with is where to add it in the flow i.e. is it another variable, is there a way to add it directly into the HTML table etc....

 

Step 1.jpg

Step 2.jpg

Step 3.jpg

 

 

 

Categories:
I have the same question (0)
  • UshaJyothiKasibhotla Profile Picture
    200 Moderator on at
    Re: Create a date field = today's date + 1 month to show in my HTML table and email

    please find below thread

     

    https://powerusers.microsoft.com/t5/Building-Flows/Add-X-months-or-year-to-today-s-date/td-p/1372059

     

    Hope this helps,

    Usha.

  • MerlinT Profile Picture
    42 on at
    Re: Create a date field = today's date + 1 month to show in my HTML table and email

    Thanks Usha.  I do know how to add the date + period.  My issue is where to actually add it, and what type i.e. do I add it as another variable or can I somehow add it in the HTML table directly etc.?

     

  • UshaJyothiKasibhotla Profile Picture
    200 Moderator on at
    Re: Create a date field = today's date + 1 month to show in my HTML table and email

    Hi @MerlinT 

    write compose and place that function in that and the output of the compose then give the output of compose in the HTML table.

     

    Try this

    Hope this helps

    Usha.

  • v-yetonggu-msft Profile Picture
    on at
    Re: Create a date field = today's date + 1 month to show in my HTML table and email

    Hi @MerlinT ,

    Please add DocumentDueDate and expression in 'Select':

    vyetonggumsft_1-1716873963461.png

    addDays(utcNow(),30,'yyyy-MM-dd')

    Best Regards,

    Sunshine Gu

  • Verified answer
    MerlinT Profile Picture
    42 on at
    Re: Create a date field = today's date + 1 month to show in my HTML table and email

    Thanks so much for the detailed response.  Worked exactly as I wanted.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard