cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
PaulBrown
Level: Powered On

Merge data from 2 excel tables into a 3rd

Hello everyone. First time post after spending a week on this problem!

 

Problem: We receive daily updates from multiple workers on the road. The updates are done through 3 Forms which populate respective Excel files. Once a day, i would like to merge data from 3 of the forms into a final one. 

The forms are used to track our daily vehicle movements, departure times, drivers names etc. Each vehicle will end up with one entry per day in the final merged excel file.

 

I have tried a number of different approaches but have experienced little success. So far I have been able to take the data from the first excel sheet and add it as new rows to my merged file - after that I am struggling! 

Following is the fist excel file table: 

 tracking.PNG

Second Table:

tracking2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

As you can see, the data is somewhat similar each day. i'd populate the 3rd excel table with data mostly from the first table. The main thing I'm pulling from the second table would be to find the coach # on todays date, compare drivers names and if the driver name has changed, add that to the equivalent row in the 3rd table.

 

merge.PNG

 

 

Can anyone help me with this please?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Merge data from 2 excel tables into a 3rd

 

Hi @PaulBrown ,

 

Could you share a screenshot of Flow's current configuration?

 

It seems that you just use Filter Query to filter out the eligible rows and then insert some of the field values or the entire row into another table.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PaulBrown
Level: Powered On

Re: Merge data from 2 excel tables into a 3rd

Hi @v-bacao-msft 

Thanks for your reply. I was initially trying to edit the odata filter in the Excel Get Rows connector, but couldn't work out the syntax to use there. Ended up adding a Filter after List Rows

flow1.PNGflow1.1.PNG

I am certain I'm doing something wrong in the Apply to Loop as I don't know how to use the data from the array to update a table. 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,245)