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 / 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:
  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard