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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

Pivot and Unpivoting columns in table

Hi Team,

 

I have table in Tranform data : 

IdAttributeValue
11Premium600
11Percentage9%
11Tax55.8

 

and I wanted to show it like :

IdPremuimPercentageTax
116009%55.8

 

Could you please let me know on which column should i use Pivot/unpivot so that i will get correct result ?

 

Thanks,

Shubham

1 ACCEPTED SOLUTION
JIGAR
Resolver IV
Resolver IV

@Anonymous 

 

Select the Attribute column and do a Pivot on it. See the screenshot below to see what you have to set in Values column and aggregate function

 

JIGAR_0-1619562462563.png

 

This is how the result will look like.

 

JIGAR_1-1619562527128.png

 

Thanks

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

You can also select transpose under transform in query editor. 

JIGAR
Resolver IV
Resolver IV

@Anonymous 

 

Select the Attribute column and do a Pivot on it. See the screenshot below to see what you have to set in Values column and aggregate function

 

JIGAR_0-1619562462563.png

 

This is how the result will look like.

 

JIGAR_1-1619562527128.png

 

Thanks

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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