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 / Changing a choice fiel...
Power Automate
Answered

Changing a choice field when date is a year old

(0) ShareShare
ReportReport
Posted on by 41

Hello,

 

I've done a lot of googling and struggling to find a working solution to my problem.

I'm trying to find a flow that when a date in my SharePoint list column "PAT Test Date" is Today()-365, to change the choice column "PAT Tested" to "Expired".

 

Kind regards,

Kyle

Categories:
I have the same question (0)
  • Verified answer
    Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @KyleJackDaniel1  Create one scheduled flow that will run everyday and then use get items with filter query so that you can get required item. after that update your item.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • KyleJackDaniel1 Profile Picture
    41 on at

    Its the expression which I mainly struggle with, Its different to excel/PowerApps.

     

    if('PAT Tested Date'>Today()-365,'PAT Tested'.Value="Expired",'PAT Tested'.Value)

     

    Trying to get that, to work with a Power Automate Filter Query.

     

    Is this correct?

    (PATTestedDate lt '@{addDays(utcNow(),-365)}')
  • KyleJackDaniel1 Profile Picture
    41 on at

    Managed to do it thank you,

     

    I enabled "Experimental Features" by going to "Settings" > "View all Power Automate Settings" > "Enable Experimental Features" which made the filter query a lot easier to understand.

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard