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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
TheRaw
New Member

Union different column same table

Hy All,

I have table with column1, column2, column3, column4.

 

I need to append column1 to column2 and column3 and colum4.

 

How can I do union on the same table?

 

Thanks

1 ACCEPTED SOLUTION
v-sihou-msft
Microsoft Employee
Microsoft Employee

@TheRaw

 

In this scenario, you can "unpivot columns" for all columns.

 

8.PNG

 

It will unpivot all values into one column.

 

7.PNG

 

Then you just need to remove the first column.

 

Regards,

View solution in original post

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@TheRaw

 

In this scenario, you can "unpivot columns" for all columns.

 

8.PNG

 

It will unpivot all values into one column.

 

7.PNG

 

Then you just need to remove the first column.

 

Regards,


@Simon_Hou-MSFT wrote:

@TheRaw

 

In this scenario, you can "unpivot columns" for all columns.

 

8.PNG

 

It will unpivot all values into one column.

 

7.PNG

 

Then you just need to remove the first column.

 

Regards,


Hi Simon, I need to do this but I need that the new column respect the order;  for example in this case the result column should be 

Value

1

2

3

4

5

6

7

8

9

10

11

12

 

Thanks for the help.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors