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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.