Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Total amount per group of data

Jenina
8 - Asteroid

Hi All,

 

Is there an easier way to show the total amount per group of data just below it? And anything below $50/($50) will be commented. The initial way I can think of is via join/union but can't get the exact output. I have attached the sample input and desired output.

Thank you all.

8 REPLIES 8
binuacs
21 - Polaris

@Jenina just want to confirm in your attached file is the input and the output are in correct order  or you want the opposite way, I mean the output tab has the actual input data and input has the output data? 

binuacs
21 - Polaris

@Jenina one way of doing this

binuacs_0-1754589359961.png

 

Jenina
8 - Asteroid

@binuacs  hello, the Input tab has the actual input data , output tab is the outcome I want. Thanks

binuacs
21 - Polaris

@Jenina, in that case, if you exclude the Match Id NULL value, you will get the output. Or am I missing something? 

Jenina
8 - Asteroid

@binuacs  Sorry, I'm getting parse errors. Looks like it's because the original amounts in my raw file are all absolute, can you please update that? Credit is *-1, debit*1. 

Thanks

Jenina
8 - Asteroid

@binuacs  Hi again! Apologies! I swapped the input and output my bad. The input is all -1 match ID. The output is the one that should generate the subtotal. Apologies!

binuacs
21 - Polaris

@Jenina updated workflow attached

binuacs_0-1754605761245.png

 

Jenina
8 - Asteroid

Thank you @binuacs 

Labels
Top Solution Authors