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
coolshib
Helper III
Helper III

Table merge error

Dear All,

I have three table as confirmed, recovered & death.

When i try to merge all table together i get null value under recovered column of the merged table data.

Attached here with the pbix file for your reference.

 

<iframe src="https://onedrive.live.com/embed?cid=B52CAD1EB6C3FE36&resid=B52CAD1EB6C3FE36%21166&authkey=AIoettQaUa..." width="98" height="120" frameborder="0" scrolling="no"></iframe>

 

Thanks in advance.

Best Regards,

Shib

1 ACCEPTED SOLUTION
Pragati11
Super User
Super User

Hi @coolshib ,

 

First thing I don't see Null values in the CONSOLIDATED table under RECOVERED column. I see BLANKS.

The reason for blank values is for the rows with this combination, you don't have data in REcovered table of yours. For eg:

Province/State = "Prince Edward Island"

Country/Region = "Canada"

Date = "30 March 2020"

There is no data for above combination in RECOVERED table.

 

Lets talk about how your joins are done:

1. Confirmed LEFT OUTER JOIN Deaths = OUTPUT_first

2. OUTPUT_first LEFT OUTER JOIN Recovered

This suggests there are some rows in OUTPUT_first which don'e exist in Recovered table. Therefore ends with BLANKS.

 

Also, I can't navigate through your Edit Query steps to view result at each step as it uses some DB credentials. It will be helpful to have this .pbix file without DB credentials.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

2 REPLIES 2
Pragati11
Super User
Super User

Hi @coolshib ,

 

First thing I don't see Null values in the CONSOLIDATED table under RECOVERED column. I see BLANKS.

The reason for blank values is for the rows with this combination, you don't have data in REcovered table of yours. For eg:

Province/State = "Prince Edward Island"

Country/Region = "Canada"

Date = "30 March 2020"

There is no data for above combination in RECOVERED table.

 

Lets talk about how your joins are done:

1. Confirmed LEFT OUTER JOIN Deaths = OUTPUT_first

2. OUTPUT_first LEFT OUTER JOIN Recovered

This suggests there are some rows in OUTPUT_first which don'e exist in Recovered table. Therefore ends with BLANKS.

 

Also, I can't navigate through your Edit Query steps to view result at each step as it uses some DB credentials. It will be helpful to have this .pbix file without DB credentials.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11 

Thank you so much for your help.

Best Regards,

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.