In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

RegEx to Calculate Conditionals

FabioP
8 - Asteroid

Dear all,

 

       I trying to create a formula to calculate the 'Amount' based on the variable from 'Qty_Type' :

 

Numbers.PNG

 

The rule is:

A = 10

C = 5

I = 0

 

       I need to calculate the (number * letter) + (number * letter) + ...

       Could you help me to find the best way to do that?

 

3 REPLIES 3
caltang
17 - Castor
17 - Castor

Please provide relevant data to this use case, and kindly provide your criteria in as much detail as possible. If you have a workflow built halfway, kindly export that over as well.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

I used some sample data, but the idea is like this:

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

Alternatively....

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors