Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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 ....

 

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