Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Using Summarize tool to find Max (two fields)

hike44
7 - Meteor

I feel like this should work but for whatever reason it does not.  I have the below data and I am trying to return for each ID the Location which has the Max Point values.  If tied, return all rows where the max is tied.  Using Summarize however doesn't seem to work.

 

Any idea how to do this?

 

IDLocationPoints
Case_123Australia1
Case_123Canada4
Case_123Macau1
Case_123Mexico4
Case_123Singapore1
Case_123Thailand1
Case_123USA4
Case_123United Kingdom7
Case_456Australia5
Case_456Canada5
Case_456Thailand3
Case_789Mexico1

 

 

hike44_0-1630439630411.png

 

 

2 REPLIES 2
Maskell_Rascal
13 - Pulsar

Hi @hike44 

 

Here's how you can do it. 

 

In the Summarize Tool, you want to only group by the ID and then find the Max Points. Then Join the back to the original data by ID and Points to get all the locations that match. 

 

Maskell_Rascal_0-1630445445010.png

 

Cheers!

Phil

Tyro_abc
11 - Bolide

Hi @hike44 

 

Try this

Tyro_abc_0-1630466421111.png

 

Best Regards

abc

Labels