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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Transpose multiple columns into single column retaining the main column

Greetings,

I'm bagging my head against the wall trying to transpose/pivot my data. Here's my dataset below:

Sales IDTicket 1Ticket 2Ticket 3
1Funnynullnull
2HappySeriousnull
3FunUglyVanity

 

What I'm trying to do in my table is this:

Sales IDTicket
1Funny
2Happy
2Serious
3Fun
3Ugly
3Vanity

 

Does anyone know how I do this in Power BI, I did it before but was a long time ago?

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Power Query. select 1st column. Right-click.  Unpivot other columns

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@HotChilli Awesome, thank you, could not figure it out 🙂

HotChilli
Super User
Super User

Power Query. select 1st column. Right-click.  Unpivot other columns

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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