Forum Discussion
Need help combining two worksheets
- 5 months ago
Merge and Append can be done pretty easily through the PQ UI.
For Merge, you just need to make sure your Unique ID's truly match...same type and same string.
For Append, you ideally want both tables to have columns that match. They don't need to match perfectly, but it starts getting a little weird with how columns get ordered if there aren't a perfect match.
You can Merge or Append into an existing query, or create a new one.
I recommend creating a new one, and then changing the queries that are the source of the Merge/Append to a Connection Only that isn't actually loaded.
1) Load both worksheets into Power Query
2) Make sure the IP Address columns have the same data type in both tables
3) In Worksheet2, do Merge Queries
4) Match Worksheet2[IP Address] to Worksheet1[IP Address]
5) Choose join type: Left Anti
- This returns only rows from Worksheet2 that do not exist in Worksheet1
6) Append that result to Worksheet1
- Rnaval5 months agoPost Partisan
Thanks, how do I perform step 6, is there an option to Append or manually copy and paste to Worksheet1?
- flowingbuckle5 months agoNew Member
Merge and Append can be done pretty easily through the PQ UI.
For Merge, you just need to make sure your Unique ID's truly match...same type and same string.
For Append, you ideally want both tables to have columns that match. They don't need to match perfectly, but it starts getting a little weird with how columns get ordered if there aren't a perfect match.
You can Merge or Append into an existing query, or create a new one.
I recommend creating a new one, and then changing the queries that are the source of the Merge/Append to a Connection Only that isn't actually loaded.
- v-sshirivolu4 months agoCommunity Support
Hi Rnaval ,
I would take a moment to thank flowingbuckle , for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions