We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sum by criteria

nihou
8 - Asteroid

I am trying to sum by agreement then contract, but if that agreement and contract number have A Code =10, then I want it to sum them together? I have source and desired outcome below:

 

nihou_0-1636997483072.png

 

Source Outcome 
C NumberA NumberCodeDateA CodeVolVol2 C NumberA NumberCodeDateA CodeVolVol2 
129A720308/31/2017 1011 129A720308/31/2017101001 
129A720308/31/20171090-10 129A720408/31/201710601 
129A720408/31/201710601 129A720708/31/201710-60 
129A720708/31/2017 330 129A721508/31/201710243 
129A720708/31/201710-390 160720308/31/2017101050 
129A721508/31/2017 61 160720408/31/201710648 
129A721508/31/201710182 160720708/31/201710-70 
160720308/31/2017 101 160721508/31/2017107810 
160720308/31/20171095-1 129A133908/31/2017 455 
160720408/31/201710648 160133908/31/2017 455 
160720708/31/2017 330 129A 0308/31/2017 495 
160720708/31/201710-400 129A 0708/31/2017 150 
160721508/31/2017 608      57238 
160721508/31/201710182         
129A133908/31/2017 455         
160133908/31/2017 455         
129A 0308/31/2017 495         
129A 0708/31/2017 150         
     57238         
                
2 REPLIES 2
AngelosPachis
16 - Nebula

Hi @nihou .

 

Not sure I understand the requirements fully, but this workflows seems to be giving the output that you are after?

 

AngelosPachis_0-1637006945533.png

 

nihou
8 - Asteroid

@AngelosPachis thank you! This worked! First time using "First"!

Labels
Top Solution Authors