Forum Discussion

paterke's avatar
paterke
New Member
2 years ago
Solved

Promote headers except a few columns

In power query I want to promote the first row to headers except 2 columns.  Any suggestions?
  • Anonymous's avatar
    Anonymous
    2 years ago

    Thanks for the reply from aduguid.


    Hi paterke ,


    Here l provide another idea, please follow the steps below:


    1. Duplicate the original table in Power Query Editor:

     

     

    2. Select Year and Name and remove these columns:

     

    3. Use first row of the duplicated table as headers:

     

     

    4. Merge Table and Table(2).

     

    5. Click on the button and select Year and Name to expand the table:

     

     

    6.The final result is as follows:

     

     

    Best Regards,
    Zhu
    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
    If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!