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.
SOLVED

Sum different columns with similar Column Name

JJ747
6 - Meteoroid

I have 4 Columns named as Base Pay , Base Pay 1  , Base Pay 2 , Base Pay 3 and I wanna add the sum of all these 4 columns to a new column say Base Pay 5.

 

Any insights

2 REPLIES 2
CathyS_Slalom
9 - Comet

Hi @JJ747, you can use formula tool and add them together:

CathyS_Slalom_0-1654630733896.png

If you have many columns and want to sum them together, I would recommend to use dynamic select to select columns based on the pattern, then transpose the selected columns --> then summarize it 

 

CathyS_Slalom_1-1654631302047.png

 

See attached workflow for details.

binu_acs
21 - Polaris

@JJ747 one way of doing this

 

binuacs_0-1654632232993.png

 

Labels
Top Solution Authors