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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JeroniJamboni
Advocate I
Advocate I

Combine columns from same table

Hi Guys,

 

I have a table with the following information:
ID; A; B; C
1; A; B; C
2; A; B; C
3; A; B; C

I want to turn these into the following table:
1; A
1; B
1; C
2; A
2; B
2; C

After googeling for a couple of hours, i can't seem to find the solution. Is there a easy solution to this?

Thank you in advance!

With kind regards,

 

Jeroni Jamboni

2 ACCEPTED SOLUTIONS
Zubair_Muhammad
Community Champion
Community Champion

hI @JeroniJamboni

 

In the Query Editor,, Select the Letter Columns>>>Go to Transform Tab>>> Unpivot

 

7000.png

View solution in original post

@JeroniJamboni

 

You will get below. Delete extraneous columns and rename as necessary

 

7001.png

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

hI @JeroniJamboni

 

In the Query Editor,, Select the Letter Columns>>>Go to Transform Tab>>> Unpivot

 

7000.png

Awesome! Works like a charm! 
Thank you!

@JeroniJamboni

 

You will get below. Delete extraneous columns and rename as necessary

 

7001.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.