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 / Workflow Power Automat...
Power Automate
Answered

Workflow Power Automate : when the date is more than 3 years old, we add the value "300" in the "Money pot" column

(0) ShareShare
ReportReport
Posted on by 691

Hello, I have a Sharepoint list with a "Date" column and a "Money pot" column.
I would like to create a Power Automate feed so that when the date is more than 3 years old, we add the value "300" in the "Money pot" column. But I don't know at all how to do that.
Can you help me please?

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on at

    Hi @s44 

    You can filter out the item whose date is more than 3 years through Get items action, and then use Update action to change the value of the money pot to 300.

    At present, Flow can't get the number of days in the past three years. So I use a year with 365 days to calculate.

    I set up a flow, you can refer to the below screenshots.

    This is my test list.

    vLilyWmsft_0-1638148815864.png

    Flow in details.

    Flow runs every day.

    vLilyWmsft_2-1638148970253.png

    Filter out items whose date are more than three years.

    Expression:

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

    vLilyWmsft_5-1638149961140.png

    Update Money pot column.

    vLilyWmsft_4-1638149062556.png

    After flow runs, the items whose date are more than three years 

    The value of Money pot column will be updated to 300.

    vLilyWmsft_1-1638148855764.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard