Forum Discussion

ochaoui's avatar
ochaoui
Frequent Visitor
5 years ago
Solved

Column values as header : how to transpose the table

Hi folks,

 

I have a table like this coming from a json :

app namenamevalue
AdescriptionXXXX
Adisplay nameYYYY
AnoteZZZZ
BdescriptionQQQQ
Bdisplay nameSSSS
BnoteDDDD
CdescriptionWWWW
Cdisplay nameBBBB
CnoteCCCC

 

I want to transpose this table in order to have a header that contains the values of the "name" column.

 

As a result, I would like to have this :

app namedescriptiondisplay namenote
AXXXXYYYYZZZZ
BQQQQSSSSDDDD
CWWWWBBBBCCCC

 

How to do that with power query GUI pls ??

 

Thanks in advance.

 

Regards,

  • Anonymous's avatar
    Anonymous
    5 years ago

    ochaoui 
    For detail, select the name column=>pivot column=>select value as values column=>choose don't aggregate.

     

     


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

     

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    ochaoui 
    For detail, select the name column=>pivot column=>select value as values column=>choose don't aggregate.

     

     


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

     

  • Jagen007's avatar
    Jagen007
    Regular Visitor

    Greeting,

    This is my table design is as below.

    Order No.MaterialDelivery no.
    ABC-11245678400000000
    ABC-12245678500000000
    ABC-13245678600000000

     

    My desired output is in this table format.

    Order No.MaterialDelivery no.Delivery no.Delivery no.
    ABC-11245678400000000500000000600000000

     

    Kindly please help to advise how to solve this in Power Query or Power BI.