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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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