Start Free Trial

Alteryx Designer Desktop Discussions

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

Forluma based on column order

petros21
5 - Atom

Hi, 

 

I want to do some maths in a new column based on the order of the columns.

Based on my query the headers could have different name.   

For example I want to calculate --> 3. column + 4. column 

 

Thanks in advance 

 

/Petros 

5 REPLIES 5
Par_O_SE
Alteryx
Alteryx

@petros21 Can you expand a little on this? Do you want to add values from two or more columns based on the names of the columns? 

petros21
5 - Atom

petros21_0-1670250154619.png

 

The headers of the last 3 Columns are changing every month based on my select (--> last 3 months).

I want to calc the average of the last 3 months. 

 

Following worked last month, but of course not this.

 

Reaseon: the last three columns are from this month 

 

petros21_1-1670250669803.png

 

petros21_2-1670250681859.png

 

 

Thanks in advance 

 

 

gautiergodard
13 - Pulsar

Hello @petros21 

If I understand your problem correctly, here is one way you could do this:

gautiergodard_0-1670251386590.png

 

Hope this helps!

 

binu_acs
21 - Polaris

@petros21 One way of doing this with the Dynamic Select tool

 

binuacs_0-1670257789598.png

 

binuacs_2-1670258488175.png

 

 

petros21
5 - Atom

Thx guys. It was easy - at the end :) .... 

 

I used the dynamic renaming tool 

 

petros21_1-1670258454267.png

 

 

Labels
Top Solution Authors