Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

string sorting

BRRLL99
11 - Bolide

hi

 

I have data with different countries, company

my target is to pick each country with highest assets

 

countrycompanysalesprofitassets
indiaA101100
indiaB202200
indiaC303300
usaD404200
usaE505300
usaF606400

 

output:

 

countrycompanysalesprofitassets
INDIAC303300
USAF606400
2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @BRRLL99,

One way to do this is with a Summarize tool and a join Tool. The summarize lets you get the max asset for each country then you can use a join to get all the information for that record:

Example0822.gif

Any questions or issues please ask

Ira Watt
Technical Consultant
Watt@Bulien.com 

DataNath
17 - Castor

Could just sort the data by asset and then pick the first 1, grouping by country:

 

DataNath_0-1659954897569.png

Labels