Alteryx Designer Desktop Discussions

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

Filling columns based on multiple fields

TiffanyH12
7 - Meteor

Hi! So I'm trying to create columns that fill based on two criteria: FY and useful life. Basically, at FY__ with __ useful lives, the ratio would input in a column that starts at that FY.

 

I have a table that breaks down the ratios based on the useful life. The ratios are all the same depending on the # of years and need to be input in the same order

 

Essentially the output should look similar to this:

 

FYUseful Life201520162017201820192020202120222023
FY 1530.1666666670.3333333330.3333333330.166666667     
FY 173  0.1666666670.3333333330.3333333330.166666667   
FY 185   0.10.20.20.20.20.1
FY 163 0.1666666670.3333333330.3333333330.166666667    
4 REPLIES 4
BrandonB
Alteryx
Alteryx

Wasn't sure what you were using for the ratios, but I think that this workflow should get you close! Just need to add in the piece that does the ratio calculation. Workflow is attached. 

 

useful life.png

TiffanyH12
7 - Meteor

Thanks Brandon! This is similar to what I'm trying to accomplish. I have the ratios calculated in a separate sheet (shown at the bottom). I'm guessing I'll have to join the ratio's sheet in somehow. 

 

How would you incorporate this information into your WF?

Years      
30.1666666670.3333333330.3333333330.166666667  
50.10.20.20.20.20.1
BrandonB
Alteryx
Alteryx

Just a little transformation of the ratio table down below using a transpose and then joining it back into the data. Then when it is cross tabbed you should see all of the ratios populate the cells as expected. 

 

Useful Life v2.png

TiffanyH12
7 - Meteor

Thank you!!! This did exactly what I needed

Labels