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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.