Forum Discussion

wyndlpoons's avatar
wyndlpoons
Regular Visitor
3 years ago
Solved

Help transforming table from single rows into multiple values

Hi, I'm new to Power BI & Power Query and am running into a problem with a Power Query transformation.

Is there a way to take a table like this...

NameColumn2Column3Column4
Person One11/30/202212/2/202212/3/2022
Person Two11/28/202211/30/202212/1/2022


...and make it look like this one?

NameDate
Person One11/30/2022
Person One12/2/2022
Person One12/3/2022
Person Two11/28/2022
Person Two11/30/2022
Person Two12/1/2022

 

I've found some solutions that almost work, but can't quite figure out how to get there. 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi wyndlpoons ,

     

    As djurecic  said, unpivot column works.

    Here I made a sample file for your reference.

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi wyndlpoons ,

     

    As djurecic  said, unpivot column works.

    Here I made a sample file for your reference.

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    • wyndlpoons's avatar
      wyndlpoons
      Regular Visitor

      Yep, Unpivot Columns worked for me. Thanks for the help!