Forum Discussion

bpalavra's avatar
bpalavra
Regular Visitor
5 years ago
Solved

Create data table from data of one column (Power Query)

Hi guys,

 

I have a single column table that I need to transform into a 2 column table which replicates the rows as shown below:

 

I would be grateful if anyone could help me with this as I need to calculate it in Power Query

 

- I need to transform this:

 

In this (righ side table)

 

Thank you!

 

 

  • Hi, bpalavra 

     

    Add a custom column with the formula below:

    =Table.ToColumns(#"Changed Type"){0}

    Then expand list to new row

    Sample:

    Result:

    Please refer to the attachment below for details

     

     

    Is this the result you want? Hope this is useful to you

    Please feel free to let me know If you have further questions

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

4 Replies