The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
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.

Dynamic Select month columns based on current month

Paridhi_Agrawal
Asteroid

Hi Team,

 

I have an excel file which has columns for all month. The columns have data till current month. I need to do a calculation for future months based on current month values.

 

For Ex: Current Month: Sep.

I have data till Sep month and Oct, Nov, Dec are all zeroes. 

So only for metrics 'Outward" the values in future months(Oct, Nov, Dec) should come from current month(Sep) values and rest all metrics can remain zero in those months.

 

I have attached excel sheet with input data and desired solution

I can get current month as an input from user or in a text file

 

Thanks

Paridhi

 

4 ANTWORTEN 4
rzdodson
Quasar

@Paridhi_Agrawal here is one way to do this.

Solution.png

binu_acs
Polaris

@Paridhi_Agrawal Another method Analytical app using the multi-field formula

image.png

Paridhi_Agrawal
Asteroid

Hi @rzdodson ,

Is there any other way without transposing the data.?

 

Thanks

 

Paridhi_Agrawal
Asteroid

Hi @binu_acs 

 

This approach is not working as sometimes  OUTWARD in previous months can be zero.

 

Is there any other way?

 

Thanks

PAridhi

Beschriftungen
Top-Lösungs-Autoren