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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.