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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.