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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Changing table values to headers

Hi,

 

I have a set of data that looks like the below;

ConfirmationIdAnswers.Questions.QuestionNameAnswers.TextAnswer
330478BOOKING REQUEST DATE17.01.20
330478CANDIDATE EMAIL (NC)test@GMAIL.COM
330478INVOICE TO mandatoryCANDIDATE TO POD
330478COST CODENA
330478etc....etc.....

 

I want the data to look like this below;

ConfirmationIdBOOKING REQUEST DATECANDIDATE EMAIL (NC)INVOICE TO mandatoryCOST CODEetc....
33047817.01.20test@GMAIL.COMCANDIDATE TO POD

NA

etc....

 

I need this to work for as many column names that are listed in the first table (which is more than what I've shown).

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Fortunately for you, this will still work, even on text 🙂

 

Just select your second and third column. Then do pivot, in advanced options choose MAX instead of COUNT and in your "values" column use your Answers.textanswer column.

 

Tadaaa 🙂

 

Jaap

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

Refer, this can help

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks for the quick reply.  I did try to pivot the column but I don't have numbers in the values column it is text data.

Anonymous
Not applicable

Fortunately for you, this will still work, even on text 🙂

 

Just select your second and third column. Then do pivot, in advanced options choose MAX instead of COUNT and in your "values" column use your Answers.textanswer column.

 

Tadaaa 🙂

 

Jaap

Anonymous
Not applicable

Perfect!

 

Thankyou all.

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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