Alteryx Designer Desktop Discussions

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

Column referencing

aish28warya
6 - Meteoroid

Hello,

My data looks like below.

 

For Aug

ClientAugJulJunTotalUnbilled periods
A626142.333333333
B804121.5
C1022141.4

 

For Sep

ClientSepAugJulTotalUnbilled periods
A826162
B1024161.6
C1021131.3

 

I'm trying to generate this column Unbilled Periods which is a [Latest Month]/Total.

 

I used the formulae tool. I did Aug/Total. Then in Sep I've to change the formulae again to Sep/Total. Is there a way I can reduce this manual touchpoint provided only column name & data change but column number(which is 2nd from the left) remains same?

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @aish28warya 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1632128429313.png

 

Hope this helps : )

 

Maskell_Rascal
13 - Pulsar

Hi @aish28warya 

 

Here is an alternate way to do this without transposing your data.

 

I am using a Dynamic Select tool to grab columns by field position, then renaming the latest month to "Unbilled periods", Joining this new field back to the original dataset, and finally updating the field with the Formula tool. 

 

Maskell_Rascal_0-1632150392777.png

 

Let me know if this works for you. 

 

Cheers!

Phil

 

Labels