Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Identify fields that sum to specific amount

rossEY
5 - Atom

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 REPLIES 4
ponraj
13 - Pulsar

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

 

WorkflowWorkflowResultsResults

rossEY
5 - Atom

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
13 - Pulsar

Here you go!

WorkflowWorkflowResultsResults

rossEY
5 - Atom

Perfect, thanks!

Labels