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.

Sum and Create Rows for Different Time Periods

ContinuousLearning
6 - Meteoroid

Hi Alteryx community,

 

I have been struggling to organize my workflow and I was hoping I can get help here. 

I have the following structure of my file:

ContinuousLearning_1-1628198604558.png

 

I want to create a new variable that adds/subtracts two or more variables for a specific scenario (001_ or 002_). 

Example: I want to create a new variable that will have VarName labeled Accruals and would sum AccrInt+AccrIntBeforeSales + AccrInvInc for each time step (Value000, Value001, etc)

I am attaching the excel version with the desired output. I have to mention, in my actual workflow, I have a lot of variables and scenarios. 

I appreciate any suggestion!

Thank you!

 

2 REPLIES 2
ArtApa
Alteryx
Alteryx

Hi @ContinuousLearning - This is how you can do this:

ArtApa_0-1628213289381.png

 

ContinuousLearning
6 - Meteoroid

Thank you for your solution. Unfortunately, it won't work for my workflow, since I can have multiple scenarios. Is there anything else I can use instead of the sorting tool?

Thank you!

Labels
Top Solution Authors