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 / Automate Monthly Copy ...
Power Automate
Answered

Automate Monthly Copy and append of SharePoint list

(0) ShareShare
ReportReport
Posted on by 19

Hello,

I would like to automate the recycling of a list in sharepoint each month. We have a YTD list that is modified by a power app for stakeholders. What we need to do is Copy the previous month's (as filtered by "Period" column data. then append to the same list with  the current month listed in the "Period" variable.

 

Period is text of Month Name (Januray, February, etc.)

 

New to Power Automate so thanks for any tips.

 

Kyle

Categories:
I have the same question (0)
  • alrezac Profile Picture
    Microsoft Employee on at

    Hi Kyle,

     

    Looking through your requirements here it does seem possible, but this will have a lot of variable dynamic values this will need to be generated. It will require the lists to have all of the same naming conventions but it is possible.

    A general idea: Trigger is a recurrence every month. Set a variable to UTC now. Grab the month from that variable and go to that select the list based off of the month and then you just need you grab the list items and copy them over to the next month.

     

    If you need more 1 on 1 help with creating this you can always work with a partner who specializes in building flows.

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • KS772 Profile Picture
    19 on at

    Thanks Alex.

    We are almost there. We created a month number variable in the data and I just need to filter based on that being 1 less than the month from utcnow(). 

     

    Really just trying to create something along the lines of int(utcnow('MM')) minus 1 but having issues finding the best formula to do it.

  • Verified answer
    KS772 Profile Picture
    19 on at

    I figured it out. The way we did it was a current month number and a prior month number. We will add the year to associate with YoY change. 

     

    We started with Current Month Number as expressed below:

    int(utcNow('MM'))

     

    The Current Month first day function below was needed to build the subsequent prior month:

    startOfMonth(utcNow())

     

    The Compose function we built created the integer for prior month through this expression:

    int(formatDateTime(subtractFromTime(outputs('CurrentMonthFirstDay'),1,'Month'),'MM'))
     
    We created the filter based on our Period (Month Number) in the List - where Period = Prior Month variable.
     
    Thanks!

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard