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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
PowerBITestingG
Resolver I
Resolver I

Revert Unpivot

I have the following data:

 

Name  Attribute   Value

ID900

  First Name  Kevin
ID900  Last Name  Jorbs
ID900  City  New York

 

And I have to transform it to this:

 

Name    First Name    Last Name    City
ID900    Kevin    Jorbs  New York

 

Any ideas?

2 REPLIES 2
john_mulqueen
New Member

If you want to un-un-pivot it means you want to pivot. 

 

In the Power Query Editor go to Transform -- > Pivot Column.

 

Select Advanced Options --> Don't Aggregate

john_mulqueen_0-1682073332134.png

 

 

= Table.Pivot(Source, List.Distinct(Source[#"  Attribute"]), "  Attribute", "   Value")

Both columns are text but apparently its trying to convert something to  number

 

"DataFormat.Error: We couldn't convert to Number."

Any ideas?

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors