ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sum different columns with similar Column Name

JJ747
Meteoroide

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 RESPUESTAS 2
CathyS_Slalom
Cometa

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
Polaris

@JJ747 one way of doing this

 

binuacs_0-1654632232993.png

 

Etiquetas
Autores con mayor cantidad de soluciones