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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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 and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors