Skip to main content

For the life of me, I cannot find a transformer that does this simple, often-used data transformation. I do NOT want to aggregate the values when I pivot as the AttributePivoter forces me to do, and the AttributeTransposer makes no sense to me at all; I've tried about every combination of options with it with no luck. I have given an example of the transformation I am trying to achieve in the attached picture.

 

If anyone is familiar with Power Query within Power BI, it would be the same as pivoting an attribute column on top of a values column (with no aggregation). Similarly, this could be achieved by the pandas' pivot dataframe function.

 

 

@codyaholmes​  There isn't a straightforward way to take a list of name/value pairs and create a single feature. Something we should look into adding. The attached workspace does the trick, but a little cumbersome.

workspaceI've typed in your example as the source dataset (FME 2020.2)


Reply