Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Identify fields that sum to specific amount

rossEY
Átomo

I need to know if it is possible to identify which fields equal a certain amount on a row by row basis. Say for example I had an amount of 30, I would need field C to be flagged from the table below.

 

Please see the before and after tables below for illustration.

 

Before:

ABCDEF
102030405060

 

After:

ABCDEFG (fields equal to 30)
102030405060C

 

 

If I could take this to the next level and have separate columns indicating if any 2 fields sum to a certain amount also that would be even better (i.e. with example above A and B would be highlighted as they sum to equal 30). Realise this is far more tricky though so I'll be happy with solution to first example.

 

Thanks for any help.

4 RESPOSTAS 4
ponraj
Pulsar

Here is the sample workflow for your case. Hope this is helpful. 

 

WorkflowWorkflowResultsResults

rossEY
Átomo

Thanks Ponraj, I think that's halfway there. I may need to refine my question however.

 

So my end goal is really the following:

 

RefDateABCDEFAmount to MatchField Matched
12301/01/201810203040506030C
45601/02/201810152025303515B
78901/03/201810121416182018E
10111201/04/201820232629323520A

 

 

ponraj
Pulsar

Here you go!

WorkflowWorkflowResultsResults

rossEY
Átomo

Perfect, thanks!

Rótulos