Question

How to pivot table?


Badge +8
Hello, I have a table like this:

 

System ErrorAffected RegionTotal Error 1City2Error 1Village5Error 2City 7Error 2Village3

 

What I would like to have is this:

Affected Region

 

Error 1Error 2City

 

27Village

 

53

 

What transformer do I need to use to change the table structure?

Thanks.


2 replies

Userlevel 1
Badge +21

An attribute creator followed by an aggregator and an attribute exposer

Badge

Hey @katt.

This tutorial should help you out, enjoy!

https://knowledge.safe.com/articles/31702/pivot-table-using-fme.html

Let us know if this helps.

Reply