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.

Add two rows

Sshasnk
8 - Asteroid

Hi I have two rows and I want to subtract it and keep the value in the next row

 

Input: 

 

FundorderamountCategory
ABC6100Buy
ABC650Sell
LMN6150Buy
LMN6200Sell
ELM6154Buy
ELM6148Sell

 

I want to sum buy and sell

Output:

FundorderamountCategory
ABC6100Buy
ABC650Sell
ABC6150Total
LMN6150Buy
LMN6200Sell
LMN6350Total
ELM6154Buy
ELM6148Sell
ELM6302Total
2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @Sshasnk 

 

One way of doing this

 

Felipe_Ribeir0_1-1669646248097.png

 

 

binuacs
21 - Polaris

@Sshasnk One way of doing this

binuacs_0-1669646511833.png

 

Labels
Top Solution Authors