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

Max value of multiple fields containing L, M, H (Low, Medium, High)

HomesickSurfer
12 - Quasar

Hi

 

Looking for a clean way, without several tools and additional fields, to evaluate the maximum risk of L,M,H (Low, Medium, High) from 3 fields.

 

eg. Field4 should be H

 

Field1Field2Field3Field4
LMHH
4 REPLIES 4
Luke_C
17 - Castor

Hi @HomesickSurfer 

 

Here's an example of how I'd do this:

 

Luke_C_0-1632490293136.png

 

 

Christina_H
14 - Magnetar

Two solutions here, trying to minimise the number of tools/fields.  If you only ever have 3 fields going in you can do it in a single formula tool.  If you're not sure of the number, the other solution should work for any number.

Christina_Hurrell_0-1632490635007.png

 

HomesickSurfer
12 - Quasar

Thx @Luke_C and @Christina_H , both will work and I will consider their effectiveness.

I've tentatively opted to go with a single formula expression as follows:

 

IF
Contains([RISK LEVEL]+[CARI Risk]+[Rush Deal Risk], "H") THEN "H"
ELSEIF
Contains([RISK LEVEL]+[CARI Risk]+[Rush Deal Risk], "M") THEN "M"
ELSE
[ASSIGNED RISK]
ENDIF

Luke_C
17 - Castor

Happy to help!

Labels