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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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