web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Answered

duplicated data in

(0) ShareShare
ReportReport
Posted on by 16

hi everyone 

am creating a flow that will take an employee list from Sharepoint 
and store it in an Excel table, every time the bot runs will take all the data in the SharePoint list. thus, there will be a lot of duplicated data (every everytime it runs) 
so am trying to make it after it stores everything, to delete only the duplicated and leave the original one 
does anyone have an idea how to do that? 
after that, I wanna add a part where it will make the bot run, and every month it will create a new excel table with the new month name ( so the data won't be too much in the future ) is that possible? 

appreciated the help 


Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Offcourse, you can build a flow that loops through each SharePoint item and checks if it exists in excel. If yes, it updates otherwise create.

     

    However, wouldn't be easier if it just deletes everything from excel and inserts the records again during each run? That will be simpler to achieve.

     

     

  • TarekEzz Profile Picture
    16 on at

    That's a brilliant idea. much appreciated. 
    so should I make it delete the data first, then store it again? so this way everytime it runs it will clean up then it will store everything from beginning? 

    if may i ask you, if you have an idea of how to make save the Excel file monthly and create a new one every month 
    or should there be another bot for this part? 
    since this sheet by time will have a lot of data and it would not be easy to find something or search inside it .

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    Yes that is another option you have.

    You can build a recurrence flow that generates a new file every month (by including the date in the file name).

    That way you wont have to delete records, you can just create a new file each time

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard