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 : HlJC4VfctfHRYa7yVx08G6
Power Automate - General Discussion
Answered

Compare current year from Sharepoint List

Like (0) ShareShare
ReportReport
Posted on 31 Jan 2023 04:15:25 by

Hi everyone,

 

I'm a beginner power platform I need to know how to Compare Current Year from Sharepoint List and Create Current Year if Data not have Current Year

 

Example

ProductYear
Car

2021

Car2022
Bike2022

 

If flow check Car and Bike not Matching Current year Flow will Create New Record with Current Year

ProductYear

Car

2021
Car2022
Bike2022
Car2023
Bike2023

 

Best Regard

Chaiya

 

  • Community Power Platform Member Profile Picture
    on 31 Jan 2023 at 06:15:35
    Re: Compare current year from Sharepoint List

    Thank you very much It's work

     

    Best Regard

    Chaiya

  • Verified answer
    v-dezhili-msft Profile Picture
    Microsoft Employee on 31 Jan 2023 at 05:46:05
    Re: Compare current year from Sharepoint List

    Hi @Chaiyasavework1 ,

     

    Is there a column named Year in your table, and you want to determine whether the Year of the items in the table is the current year, and if not, add a new item?

    You can use the following formula in flow to get the current year.

    formatDateTime(utcNow(),'yyyy')

    vdezhilimsft_0-1675143673808.png

    vdezhilimsft_2-1675143736931.png

    vdezhilimsft_1-1675143716446.png

    vdezhilimsft_3-1675143784297.png

     

    Best Regards,

    Dezhi

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete