Forum Discussion

maxs3's avatar
maxs3
Frequent Visitor
4 years ago
Solved

Turn strings within rows into columns with data from another column (pivot?)

Hello,

 

I cannot figure out how to perform the below operation, I believe it is either pivot, or group, but cannot seem to find it.

 

Inital table:

LotPartMeasurementValue
11A54
11B65
12A74
12C54
21A31
21B15
23A45
23D34

 

 

Final Desired table:

LotPartABCD
115465  
1274 54 
213115  
2345  34
  • To do this in Power Query select columns "Measurement" and "Value", go to transform toolbar and select pivot columns.

     

     

    End state

     

     

1 Reply

  • jsaunders_zero9's avatar
    jsaunders_zero9
    Icon for Responsive Resident rankResponsive Resident

    To do this in Power Query select columns "Measurement" and "Value", go to transform toolbar and select pivot columns.

     

     

    End state