Start Free Trial

Alteryx Designer Desktop Discussions

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

Select Column Based on Current Month

Bharkavi
5 - Atom

Hello everyone,

 

I have the following table 

NameJan'25Feb'25Mar'25Apr'25
Alice14710
Bob

2

5811
Peter36912

 

I have created a formula to return the current month. I want to dynamically select the column that matches this current month formula. Eg: Current month = Feb then output is column "Feb'25" and to sum the values under this column. 

 

Does anyone know how to do this in alteryx?

3 REPLIES 3
PangHC
13 - Pulsar

dynamic rename to rename that column to "Current month" then use for summarize then do the rest as usual.

 

Bharkavi
5 - Atom

Thanks! 

Just to clarify - Which column should I rename to the Current Month?

Qiu
21 - Polaris
21 - Polaris

@Bharkavi 
I think we can do as below.
One is using the combination of Transpose and Cross Tab, another is the Dynamic Select but a bit length.

0218-Bharkavi.png

Labels
Top Solution Authors