In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Automatic generation of formulas whit Alteryx

JSABOGAL
8 - Asteroid

Good afternoon, I would like to know if there is a process by which I could automatically load a file with formulas in Alteryx, update me and create the respective fields within the function. The idea is that it automatically updates and creates n number of fields according to a data input as defined in the formulas file.

 

JSABOGAL_0-1647277487183.png

 

6 REPLIES 6
JagdeeshN
12 - Quasar
12 - Quasar

  

apathetichell
20 - Arcturus

if you have a limited number of possibilities (ie it will always be two fields) and a limited number of mathematical operators (ie +,-) you could set this up with three drop downs - two for the fields and one for the numeric operator. Moderately complex.

TheOC
16 - Nebula
16 - Nebula

hey @JSABOGAL 
Technically, anything is possible. You could have this as a batch macro/iterative macro, and run each formula separately. This would allow for an unlimited number of formulas to be passed in. 

It might be tricky to setup however - i'd recommend starting by learning iterative macros:
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Getting-Started-with-Iterative-Macr...

It may also be worth thinking about if there is another angle to attack your problem from. 

 

Hope this helps,
TheOC

Cheers,
TheOC
Connect with me:
LinkedIn Bulien
MarqueeCrew
20 - Arcturus
20 - Arcturus

Thank you @TheOC for helping me to make a quick challenge solving video.  The video is processing now ....

[video]

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
JSABOGAL
8 - Asteroid

Thank you very much for the help and participation of the entire team of this community.

JSABOGAL
8 - Asteroid

Thank you very much !!

Labels
Top Solution Authors