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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
JohnGor_Gor
New Member

Merged Several Excel file to replace null value in a column with value from other file.

Hello guys,

 

I have several Excel files that have the same information, and I will merge them using Power Query.

 

Situation: our system has automated sales reports daily. However, sometimes when we retrieve the data, the "Date column" information may disappear in one day file while it appears in the previous day. So, I am wondering how can I replace the null value in one excel file while filling in the null value from the other/another excel file.

 

Here is the simple sample:

 

JohnGor_Gor_0-1718715026810.png

JohnGor_Gor_1-1718715033743.png

 

Desirable outcome:

JohnGor_Gor_2-1718715061053.png

 

 

 

3 REPLIES 3
BiAnalyst
Resolver I
Resolver I

@JohnGor_Gor  this, i beleieve could be done by appending queries, Remove nulls from date column after appending might do the trick.

Thanks for the answer, but then there are 2 "Marry" rows. How can it also be done in Power Query without going back to Excel to clear duplicate value?

if i am understanding this correctly, you could shift + select all columns that might be exact duplicates (in above example column A + B + C) and righclick select remove duplicates will return unique values from each of those columns.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors