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.

Creating 3 fields that rely on each other

MP36
Átomo

Hi folks,

 

I'm trying to create the fields attached in Designer. Changes in Shares is an existing field, and Treasury Shares is just an IF ID=1 then 1,234,567 else Changes in Shares + Row-1 Treasury Shares. The rest of the fields are dependent on another field already existing.

 

Can someone help me figure out what order I need to create the additional fields in, or suggest a tool that will allow for this sort of interdependency?

 

Thanks!

7 RESPUESTAS 7
Amarendra
Bola de fuego

Sounds like you can use the Multi-row formula tool. Did you try using that?

MP36
Átomo

@Amarendra I've tried using multi-row, but I can't seem to get the formulas into any rational sequential order. I think I would have to reference columns that don't exist yet.

Amarendra
Bola de fuego

Gotcha! Do you mind uploading a file with before and after and I'll give it a shot!

MP36
Átomo

Thank you! Attached below. This is my first post, so let me know if that file doesn't give you enough to take a stab at it. Thanks again!

Amarendra
Bola de fuego

@MP36 PFA, does this work? I appended the change in stock to the dataset since the previously attached file did not have it 

MP36
Átomo

Sorry Amarendra, my original file wasn't clear enough. Change in stock is a function of QTY Exercised Distributed * Treasury Price. I've updated the file to be formula driven in the After tab so you can better follow the fact pattern. Apologies.

Amarendra
Bola de fuego

 @MP36 Updated the workflow, In this case, you will need to append the treasuring pricing as a separate file (since pricing can change with time) so you can reference that and create new fields. 

Etiquetas
Autores con mayor cantidad de soluciones