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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jcastr02
Post Prodigy
Post Prodigy

Transposing Data

Hello I need assistance to help transpose data.  I have team member names with their respective dates that they cross trained into another Line of business.  I am trying to transpose data in BI but having some difficulty.  It requires the rows to sort of repeat with the team member name and hire date.  see screen shottranspose.png

1 ACCEPTED SOLUTION
dethompson97
Resolver III
Resolver III

 

I am new to this so I don't know if this is the best way, but what I did was replace all of the null values in the data with a date that couldn't exist.  Then all columns had a value.  When unpivot after this, the table has the correct structure.  I then replaced the bad date value with null.

 

Below are screen shots: 

 

1.png2.png

 

3.png

 

I hope this helps!

Dawn

 

PS:  If this solution works, please mark it as a solution, to help others. Kudos are nice too.

View solution in original post

5 REPLIES 5
dethompson97
Resolver III
Resolver III

 

I am new to this so I don't know if this is the best way, but what I did was replace all of the null values in the data with a date that couldn't exist.  Then all columns had a value.  When unpivot after this, the table has the correct structure.  I then replaced the bad date value with null.

 

Below are screen shots: 

 

1.png2.png

 

3.png

 

I hope this helps!

Dawn

 

PS:  If this solution works, please mark it as a solution, to help others. Kudos are nice too.

Thanks , this worked!

Wonderful!  Thanks for letting me know!

 

Dawn

Hi @jcastr02 ,

Changed row headings. And of course I enter 1 person to show proof of concept.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
transpose1.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Nathaniel_C
Community Champion
Community Champion

@jcastr02 ,

Go to Power Query, Transform tab, Select first two columns, go to Unpivot Columns, and select Unpivot Other Columns.

Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
transpose.PNG

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors