Forum Discussion
UnPivot Mental Block
Hi all,
I'm have a mental block trying to UnPivot some data
Here's the mock-up in Excel. No matter what I try to UnPivot in PowerQuery I cannot get the final layout.
Thanks,
-w
- Anonymous4 years ago
Maybe it's not unpivot that you need...you are trying to make the top table into the bottom table? If I assume that you have column headers, you could just use Table.Transpose(TableNameOrLastStepName), then just promote your headers.
--Nate
2 Replies
- AnonymousNot applicable
Maybe it's not unpivot that you need...you are trying to make the top table into the bottom table? If I assume that you have column headers, you could just use Table.Transpose(TableNameOrLastStepName), then just promote your headers.
--Nate
- UncleLewisResponsive Resident
Thanks Nate,
I imported the table
Demoted the Header Row to First Row
Transposed the Table
Promoted First Row to Header Row
Looks great - thanks!-w