Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Select X number of columns and find the field that contains the largest

$
0
0

I would like to select out of multiple fields the one that contains the largest value and output that field name as a new column. It is essentially an argmax() of multiple columns to return a field name for each row.

 

How may I go about this?


Viewing all articles
Browse latest Browse all 4999

Trending Articles