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

Comparison between multiple columns

arunutp
6 - Meteoroid

Hi , 

 

Input :

 

Capture1.PNG

 

Output : 

Capture.PNG

 

I would like to compare column 1,2,3,4,5 and output in "Result" , the column`s number with highest value among these columns but if columns have similar values as above then output should be the highest columns number.

 

Thank You in advance.

4 REPLIES 4
CharlieS
17 - Castor
17 - Castor

@arunutp

 

While it would be possible to do this with a single Formula tool, I recommend transposing the data first so any amount of columns can be accounted for (this time it's 1-5, maybe next time it's 1-35). I have attached a solution.

Kenda
16 - Nebula
16 - Nebula

Hey @arunutp!

 

I would suggest using a Transpose tool first then using a couple Summarize and Join tools. See the attached workflow. 

 

Hope this helps!

ponraj
13 - Pulsar

Attaching a sample workflow for your case. 

 

Sample dataSample dataWorkflowWorkflowResultsResults

arunutp
6 - Meteoroid

Thank You

@CharlieS @Barnesk @Ponraj

 

All of the solutions works.

 

Thank You

Labels