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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
ATREZISE
Helper I
Helper I

Create Pivot Table

Hi

 

I'd like to convert / pivot a table using the name of its columns into rows in a tabular format

The source data looks something like TABLE A below. I'd like it to per as TABLE B...i.e. the column names become data in the appropriate rows:

Is this possible?
Sample.png

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

@ATREZISE

You can select all the question columns, right click on them and choose Unpivot Columns

View solution in original post

v-xicai
Community Support
Community Support

Hi @ATREZISE ,

 

Enter into Query Editor, click on column Question 1 and Question 2 at the same time, click "Unpivot Columns", rename this result column with "Question". Don't forget to click the "Close & Apply" button.

 

5.png

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @ATREZISE ,

 

Enter into Query Editor, click on column Question 1 and Question 2 at the same time, click "Unpivot Columns", rename this result column with "Question". Don't forget to click the "Close & Apply" button.

 

5.png

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Thanks - that works perfectly

Anonymous
Not applicable

@ATREZISE

You can select all the question columns, right click on them and choose Unpivot Columns

Thanks - Perfect

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.