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 Apps / Video Tutorial On Mana...
Power Apps
Unanswered

Video Tutorial On Managing Large Amounts Of Records And Archiving To A Separate Table Once a Certain Number of Records Are Reached

(0) ShareShare
ReportReport
Posted on by 157

Can anyone recommend a Power Apps video detailing how to manage large amounts of data/records where once a certain amount of records are reached, they are moved to an archived table? In this instance, the data sources would be SharePoint lists. I also know Dataverse so I would not rule out looking at a Dataverse based tutorial.

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    Just run a scheduled flow  in powerautomate, have it run every morning and have it pull the most recent X numbe rof rows from the list, then set a variable to the last records id which will be the max number of itesm to keep.

     

    then run another get items in which the odata filter is any id that is lt the previously gathered id number

     

    TheRobRush_0-1684256828626.png

     

    Expression for that Variable is

    last(outputs('Get_items_3')?['body']?['value'])?['ID']

     

    then the second get items

    TheRobRush_1-1684256994806.png

     

     

  • cm2112 Profile Picture
    157 on at

    @TheRobRush - Thank you for your response!  In your scenario, Power Automate would move any older records to a new SP list/table while retaining the most recent 2000 records?

  • TheRobRush Profile Picture
    11,128 Moderator on at

    In the screenshot I sent it will take anything past the last 250 (First Get is set to 250 items) the 2000 in second is just the max it can move at one time. You then need to add the create items, and the delete item after

  • cm2112 Profile Picture
    157 on at

    @TheRobRush - Thank you for the additional info.

  • cm2112 Profile Picture
    157 on at

    Can anyone recommend a video demonstrating these methods?

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 Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard