Forum Discussion

Jeremy19's avatar
Jeremy19
Icon for Helper III rankHelper III
7 years ago

Pivot with new columns

Hi,

 

I have created several new columns which I then want to rotate. The problem is that these new columns don't appear in Power Query. So I think that to rotate these columns I have to create a formula to build the pivot table. Is it true? And what formula to do that?

 

 

 

11 Replies

  • AlB's avatar
    AlB
    Icon for Community Champion rankCommunity Champion

    Jeremy19

     

    1. What do you mean by "rotate" the columns?

    2. What are you doing exactly? Reading from a data source with Power query and adding columns in thta data source?

    • Jeremy19's avatar
      Jeremy19
      Icon for Helper III rankHelper III

      1) I would like to rotate the columns to have for exemple :

       

      Player     ColA    ColB

        A           10          20

       

        B           13          23

       

      ->

       

      Player   Col          Value

        A        ColA          10

        A        ColB           20

        B        ColA          13

        B        ColB           23

       

      2) I need to create this column A and B as in the example but they don't appear in Power Query after creating them