Forum Discussion

Pbiuserr's avatar
Pbiuserr
Post Prodigy
4 years ago
Solved

Unpivoting columns

Hello

How to make the table down below in PowerQuery so the 99 in first column instead of null and third column does not exist?

 

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Pbiuserr ,

     

    You can use conditional columns in Power Query Editor to solve the problem. For example.

    Table.

    Add conditional column.

    Remove unwanted columns.

    Close and apply.

     

    Attach the PBIX file for reference. Hope it helps.

     

    Best Regards,
    Community Support Team_Gao

     

    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!

    How to get your questions answered quickly -- How to provide sample data

2 Replies