Question

Get column name from maximum row value


Badge +3

Hello,

 

I'm new at FME and I can't the way to solve this problem. I have a dataset like this:

OONNNEEEESSSSOVALUE123123456431678845221SS445765976455566678763NE

 

I want to get, for each row, the column name where there is maximum value.

 

Thanks.


2 replies

Userlevel 1
Badge +10

It's possible but not straightforward in FME. I would probably use python to do this, but it can be done with a combination of an attributeexploder, a list sorter and an attributecreator

 

 

Find_attr_with_max_value.fmwt

Badge +3

It's possible but not straightforward in FME. I would probably use python to do this, but it can be done with a combination of an attributeexploder, a list sorter and an attributecreator

 

 

Find_attr_with_max_value.fmwt

Hi, egomm,

it works! I really apreciate your helpful.

Thanks so much!!

Reply