Alteryx Designer Desktop Discussions

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

dynamic column and value generation

187
8 - Asteroid

Hi Alteryx engineer,

 

I have case like below , type column might contains dynamic number of values, so the A CAL B CAL is append at rear according to the unique value from type column, then I should put formula in A CAL which is  [rate]* [CUR] to get the value of each X CAL, but because the value of type is dynamic, I could not pre-define the column name in Formula Tool and put the formula in it. Any Advice?

typerateCURA CALB CALC CALD CAL
A112   
B22 4  
C33  9 
D44   16

 

more value from type get more column appended

typerateCURA CALB CALC CALD CALE CAL
A112    
B22 4   
C33  9  
D44   16 
E55    25
2 REPLIES 2
binuacs
20 - Arcturus

@187 One way of doing this

binuacs_0-1676531621383.png

 

Zok
8 - Asteroid

Another way

 

Zok_0-1676532507693.png

Zok_0-1676532590347.png

 

 

Labels