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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
LMJ12066
New Member

Merging two text tables and then merging those rows to remove nulls

Hi all, 

 

I have used PowerQuery and table.combined two tables, one with Column A, one with Column B. Each of these had 3 rows each, and the aim is to keep it at 3 rows, so I now need to add rows 4-6 of Column B, to rows 1-3 of Column B. 

 

I've tried using Group By, but it doesn't like it because it is text, and I've tried using conditional columns. Not sure if I'm even close to the right answer. 

 

Picture below for reference.

 

I will need to add another two columns and do the same in the future, so any solutions that can work with an extra column or two appreciated. 

 

LMJ12066_0-1723451855149.png

 

 

Thanks in advance! 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@LMJ12066 

you can open a blank query and try this

= Table.FromColumns( Table.ToColumns(Table)&Table.ToColumns(#"Table (2)"))

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

@LMJ12066 

you can open a blank query and try this

= Table.FromColumns( Table.ToColumns(Table)&Table.ToColumns(#"Table (2)"))

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




I hate how easy that was - I knew I was on the right tracks but just couldnt grasp the answer. This is perfect, thanks!

you are welcome





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.