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 / Archive SP List but ke...
Power Automate
Unanswered

Archive SP List but keep the latest Unique entry

(0) ShareShare
ReportReport
Posted on by 643

I have an SP list that keeps locations of tools and my power app creates new entries eveytime a tool is scanned. Some tools are scanned once, some everyday. I have hit my entry limit on Power Apps and need to archive the list. There are 422 unique tools and i would like to keep only the latest entry for all 422, limiting my list from 2669 to 422 entries only. 

 

How would i go about doing this? I have an automate for date periods on another SP list but cant find anything regarding keeping the latest unique values.

Categories:
I have the same question (0)
  • royg Profile Picture
    on at

    On your app, you could try to verify if the scanned item is already in the SP list before adding it, if it's already there you may want to update some fields (such as quantity) but not create a new item.

    Another way you can try is keep creating new items upon every scan; add a Power Automate flow that handles the item creation event and add Get Items action with an OData filter to get only items with the same code (I assume you store it in the Title column so it's something like: 

    Title eq @{triggerOutputs()?['body/Title']} and ID ne @{triggerOutputs()?['body/ID']}

    That gets you all the items with the same title except for the current created item.

    You can now easily iterate and delete them.

     

    Hope this helps.

    Roy

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 1,027

#2
Valantis Profile Picture

Valantis 809

#3
Haque Profile Picture

Haque 645

Last 30 days Overall leaderboard