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
Anonymous
Not applicable

append queries

I was trying to append two tables using append queries but when i am trying to append into one , Power query isn't showing the merged table (  total data of two tables) wheres as it is just showing the rows from one table and the rows from other table is appearing to be null. 

 

The rows of my first table are 421 and after the that the rows of the second table should start, but they are appearing to be null.

 

 
 
 
 
 
 
 
 

powerbi append.jpg

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

@Krutigawale33 is correct, the fields should have the same name but, just as important, they must be the same CASE.

M code is entirely case-sensitive, so it will see capitalised and non-capitalised field names as completely different words.

 

I imagine that, while your rows under your original table appear null, you will have a load of new columns to the right with the field names as they appear in your second table which contain the values you're looking for. This is a sure-fire indicator that Power Query is seeing the field names as different values.

 

For completeness: you must also ensure that your fields to be appended are also the same DATA TYPE, but it doesn't look like this is affecting you.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

4 REPLIES 4
Krutigawale33
Responsive Resident
Responsive Resident

Hello @Anonymous ,

 

Could you share some data ? 

Anonymous
Not applicable

append conventional.jpgtakaful append.jpg

 

These are the two tables that i am trying to append

Hello @Anonymous ,

 

I am able to append the data.

Make sure to append the data both tables should have same column name. 

 

Hi @Anonymous ,

 

@Krutigawale33 is correct, the fields should have the same name but, just as important, they must be the same CASE.

M code is entirely case-sensitive, so it will see capitalised and non-capitalised field names as completely different words.

 

I imagine that, while your rows under your original table appear null, you will have a load of new columns to the right with the field names as they appear in your second table which contain the values you're looking for. This is a sure-fire indicator that Power Query is seeing the field names as different values.

 

For completeness: you must also ensure that your fields to be appended are also the same DATA TYPE, but it doesn't look like this is affecting you.

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




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.