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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
kzwyers
Frequent Visitor

Append Queries not bringing data from extra column

I'm having an issue where, when I try to append two queries, the additional column from the second query is in the combined query, but all records are null.

 

For example:

 

Query A:

ID          Column1          Column2

1             aaa                   bbb

2             ccc                    ddd

 

Query B:

ID          Column1          Column2          Column3

3            eee                   fff                     ggg

4            hhh                   jjj                      kkk

 

Appending Query B to Query A should result in:

ID          Column1          Column2          Column3

1             aaa                   bbb                 null

2             ccc                    ddd                null

3            eee                   fff                     ggg

4            hhh                   jjj                      kkk

 

However, I'm getting this:

ID          Column1          Column2          Column3

1             aaa                   bbb                 null

2             ccc                    ddd                null

3            eee                   fff                     null

4            hhh                   jjj                     null

 

I'm using the ribbon buttons to do this.  Here is the code that is being auto-generated:

 

= Table.Combine({#"Table A", #"Table B"})

 

Can anyone explain why I'm getting all nulls for Column3?

 

Thanks in advance for your help!

1 ACCEPTED SOLUTION

Thanks all for your help, but I think I've figured it out.  The append is actually working.  It's just that the preview isn't showing all records (the actual tables are much larger than what my example shows).  I'm new to PowerBI, and didn't realize that this was due to the preview.

 

Thanks again for your help!

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi

 

I tried to reproduce your error , but getting the right data only.

 

Append.PNG

 

Are you sure you are have the right data i nthe table?

 

Thanks
Raj

I do have more information on this issue.  When I do the append, the extra column is null for all records.  When I click on the down arrow button for the column, and then click on "Load More", then I see all values show up.  But, once I click on OK, it referts back to the column being null for all records.

 

However, if, immediately after clicking on "Load More", I filter on any one value, that value will be visible.  But, as soon as I choose "Select All", they all go back to null again.

Thanks all for your help, but I think I've figured it out.  The append is actually working.  It's just that the preview isn't showing all records (the actual tables are much larger than what my example shows).  I'm new to PowerBI, and didn't realize that this was due to the preview.

 

Thanks again for your help!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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