Forum Discussion

Recoba88's avatar
Recoba88
Icon for Helper III rankHelper III
9 years ago
Solved

Make Headers from two different columns (Power Query)

HIi,   I want to make the table below to this table    Header 1 Header 2 Header 3 Header 4 Header 5 Header 6 Header 7...   DATA1     DATA2     DATA3   DATA4     DATA5     DATA6      AN...
  • MarcelBeug's avatar
    9 years ago

    Yes, with the following code; replace Source with the name of your previous query step:

     

    = Table.FromRows({Source[Column2]&Source[Column4]},Source[Column1]&Source[Column3])