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

Calculate Difference between Scenarios

hellyars
13 - Pulsar

Okay,

I'm a little rusty, I have not touched Alteryx for a few months.

 

I want to calculate the change from each Scenario (S1, S2...S19) to the other.   S1 would = S1.  S2 would =S2-S1.  S3 would = S3-S2 etc.

What is the most efficient way to do this?  I do not want to create an expression for each field.  

 

Sample data attached as yxdb.

 

Screenshot 2021-12-17 153917.png

2 REPLIES 2
Qiu
21 - Polaris
21 - Polaris

@hellyars 
I think we can do it with the Transpose and Cross Tab Tools

1218-hellyars-1.PNG1218-hellyars-2.PNG

binuacs
21 - Polaris

@hellyars I agree @Qiu solution is the most simple and elegant solution. Another option using the Multi-Field tool

Spoiler
binuacs_0-1639810897636.png

 

Labels
Top Solution Authors