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
20 - Arcturus

@Sshasnk One way of doing this

binuacs_0-1669646511833.png

 

Labels