Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Two excel files - remove duplications and create a new one

hi all

 

I am sure its super easy but I am not sure why I am not able to sort it out

 

I have two files of sales orders, in the second one I have some duplicated sales orders , so i want to create a third one , merging both but without duplicated .

 

Also I have another file with all order numbers but with no customer name that is in the first one, so I will do a relationship with the sales order number and I hope to have all the results.

 

How can I do the first step? sorry if I have not explained very good

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You could use Append Queries feature in Query Editor.

https://docs.microsoft.com/en-us/power-query/append-queries 

Then delete the duplicate rows.

https://docs.microsoft.com/en-us/power-query/working-with-duplicates#remove-duplicates 

Or you could create a new table use DAX function DISTINCT() and UNION().

new table = DISTINCT(UNION('Table','Table (2)'))

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You could use Append Queries feature in Query Editor.

https://docs.microsoft.com/en-us/power-query/append-queries 

Then delete the duplicate rows.

https://docs.microsoft.com/en-us/power-query/working-with-duplicates#remove-duplicates 

Or you could create a new table use DAX function DISTINCT() and UNION().

new table = DISTINCT(UNION('Table','Table (2)'))

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , Not very clear .

Append in Power Query and delete duplicates

 

Merge in power Query and Aggregate

 

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

Delete duplicate https://www.youtube.com/watch?v=Hc5bIXkpGVE

https://radacad.com/power-bi-aggregation-step-1-create-the-aggregated-table

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.