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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Merge two excel files ...
Power Automate
Unanswered

Merge two excel files into one.

(0) ShareShare
ReportReport
Posted on by

So I have two Excel Files - File A and File B.

 

File A has four columns, one with data, one with the date, one with the time and one with the source of the data. 

 

File B has multiple columns. One column has the source of the data and contains the same information as File A. The other columns are basically information about the data source. 

 

File A basically has data for ~10 sources but it has data for about a month. So in total, there is easily 1000+ data points. I don't know how much data is there for each data source. 

 

What I want to do is merge the two files together. For every data point in file A, I want the corresponding data source information to be put in the same row but separate columns.

 

Can I do that in automate

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Merge two excel files into one.

    Hi @Anonymous,

    Do you want to merge FileA and FileB as a single table based on the data column?

    Could you please share your data sample with me?

     

    If this Data column is the primary key column in your excel table, I think you could list both of these 2 tables firstly and you can then use the Union() function to combine those two arrays.  If they have the same column it should just add the records from the second to the first.  Here's the documentation on Union()

    Reference guide for functions in expressions - Azure Logic Apps | Microsoft Docs

     

    In addition, here is a similar thread that may fit your scenario:

    Create a single table from multiple tables - Power Platform Community (microsoft.com)

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard