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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
zibster
Helper III
Helper III

Merge Issue | Replace NULL

Hi, When i merge two table i am getting rows with null, the 1st table is 2017 and 2 is 2018 the data from 2018 is to the right of the 2017 period data and all looks good untill i have a account or store or line desc that did not exist in 2017 but it is in 2018, I am trying to find a way merge the first 3 columns (account, store, Line DESC) any ideas?

 

 

 

Tb1.JPG

 

 

 

Thanks Z

1 ACCEPTED SOLUTION

Hi @zibster,

Based on my test, after I replaced the "null" value to 0, I could just remove the left three columns to get the result you want:

1.PNG

You could downloadn the pbix file to have a view, if I misunderstand you, please just let me know.

https://www.dropbox.com/s/rhzlq40lnniyrgn/August%202018%20update%20We%20cannot%20convert%20the%20val...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @zibster,

Could you please post me your desired result?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

below is the desired result Thanks:)

2.JPG

What do you see in Power Query? I've just done the same thing, and just filtered null out to load. Also what join did you do?

HI,

 

As you can see on my first pic the account, store and line_desc for 2018 is to the right of the data and where i have CHECK as line_desc in 2018 date it shows null in 2017 on the left, this is done with full outer join as some items did not exist in 2017 or in 2018. so i actuly can have null showing for the 2017 or for 2018 set. I know how to replace the Null values for the periods but i do not know how to combine the first 3 colums with last 3.

 

Thanks

Z

Hi @zibster,

Based on my test, after I replaced the "null" value to 0, I could just remove the left three columns to get the result you want:

1.PNG

You could downloadn the pbix file to have a view, if I misunderstand you, please just let me know.

https://www.dropbox.com/s/rhzlq40lnniyrgn/August%202018%20update%20We%20cannot%20convert%20the%20val...

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for yout help Daniel Smiley Very Happy

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.