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 / Export csv file, compa...
Power Automate
Unanswered

Export csv file, compare to other csv file, and create csv file with changes

(1) ShareShare
ReportReport
Posted on by 232

Hi all,

 

I have been tasked to find a way to compare two reports (one from the current month, one from the previous month), find any changes and then create a excel file with those changes on.

 

My data is in dataverse and exports monthly using a flow so I always have a monthly back up. 

Is there a way of doing this? There's about 60-70 columns in the csv files. 

 

Thanks!

Categories:
I have the same question (0)
  • Robby_WW Profile Picture
    115 on at
    Hi,
     
    There is a way to compare 2 .csv files but it will take a very long time on big datasets.
    I'm afraid there's no real good way of doing this.
     
     
    Creating a new .csv file is not possible, i believe.
     
     
  • takolota1 Profile Picture
    4,980 Moderator on at
    It is possible to efficiently get your CSV data from both files into JSON arrays with something like...
    https://community.powerplatform.com/galleries/gallery-posts/?postid=189733b3-bea9-41b3-bc01-ec0fa209005d
     
    Then once both the CSVs are in JSON arrays you can use a series of intersect( ) expressions, union( ) expressions, & Filter array actions along with primary keys to identify the rows with changes.
    This build contains an example of such a set-up...
    https://community.powerplatform.com/galleries/gallery-posts/?postid=e1e47e8f-9bfd-4d9c-9b43-68ced3a6cbfb
     
    From there you can get both the new version of the row from the new CSV & the old version of the row from the preceding CSV.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 266 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 134 Super User 2026 Season 2

Last 30 days Overall leaderboard