Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ochaoui
Frequent Visitor

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,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

 

pivot.JPG

V-pazhen-msft_1-1622620186021.png

 


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

 

View solution in original post

4 REPLIES 4
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.

 

 

V-pazhen-msft

V-pazhen-msft

Anonymous
Not applicable

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

 

pivot.JPG

V-pazhen-msft_1-1622620186021.png

 


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

 

HotChilli
Super User
Super User

That's a Pivot from the Transform menu

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.