Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Put values in different rows into two columns

Hi,

 

I have an excel spreadsheet as my dataset, that looks like this:

DateTimeTypeCount
1/12/2021 10:00:00 am  NS597
1/12/2021 10:00:00 amSu494
1/12/2021 11:00:00 amNS  658
1/12/2021 11:00:00 amSu553

 

And I want each date to have its own row, and each type to have its own column like this:

DateTimeNSSu
1/12/2021 10:00:00 am  597  494
1/12/2021 11:00:00 am658553

 

How would I do this with power query? Thanks in advance