In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

I want to change the data from row into to column and sum

Sshasnk
8 - Asteroid

Hi I have dataset below where I have to group by class and sum the amount for each of the columns

 

FundClassAmountpurchasetotal netsell
ABCA145782145
ABCB123462323
ABCA23781212
ABCB1454320

 

Ouput:

 

FundDescriptionAB
ABCAmount168137
ABCPurchase156100
ABCDifference1237
ABCTotal net3355
ABCsell5723

 

Difference = amount - purchase

I sort of know it can be done with the cross tab tool but I am using cross tab for 4 times, is there any other better way to do it

3 REPLIES 3
Felipe_Ribeir0
16 - Nebula

Hi @Sshasnk 

 

One way of doing this

 

Felipe_Ribeir0_1-1668598741735.png

 

 

binu_acs
21 - Polaris

@Sshasnk Similar to @Felipe_Ribeir0 approach

 

binuacs_0-1668606669906.png

 

 

Felipe_Ribeir0
16 - Nebula

Hi @Sshasnk 

 

It worked?

Labels
Top Solution Authors