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

How can I append the data in column A to the data in column B?

I am always grateful for your help.

Is there a way to add the data in column A to the data in column B and reflect the data in C to E as it is, as shown in the attached image?

thank you.

スクリーンショット 2022-08-08 174935.jpg

2 REPLIES 2
Tome_05
Helper III
Helper III

@ddpl 

thank you for your answer.

I tried this correspondence, but it did not work well because the same number was extracted continuously.

ddpl
Solution Sage
Solution Sage

@Tome_05 , the folowing solution work in power query,

 

First append the table with self.

bin18.png

 

then group by...

bin19.png

 

Create a custom column...

rest_2 = Table.AddIndexColumn([rest_1], "Index", 1)

 

Remove A and rest_1 column and expand the rest_2 column.

 

Create another custom column...

A&B = if [Index]>1 then [A] else [B]

 

Remove A, B & Index column and Bananas...

bin20.png

 

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.

Top Solution Authors