Alteryx Designer Desktop Discussions

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

Action Tool

Joy1
8 - Asteroid

Hi guys,

I need your help in the following:

I have a formula that for simplicity says [field1]+1

I want the user to be able to manipulate this 1 input parameters. I went o to say replace string 1 with a user input string. But it is not working: the 1 is not being substituted

 

How to solve it?

4 REPLIES 4
fmvizcaino
17 - Castor
17 - Castor

Hi @Joy1 ,

 

I'm attaching an example where I configure the action tool as it should to automatically replace anything inside a formula. In my example, I'm replacing the number 1 for an user input.

fmvizcaino_0-1581961647896.png

 

 

One thing that you need to be careful is the string to select, if you choose to replace the 1 in the formula [field1] + 1, it will automatically replace the 1 in field1 and in number 1 as well.

 

Best,

Fernando Vizcaino

Joy1
8 - Asteroid

I have been trying this with no success...

This is my formula:

Joy1_0-1581967467553.png

Joy1_1-1581967513509.png

 

 

HELP!

 

fmvizcaino
17 - Castor
17 - Castor

Hi @Joy1 ,

 

The action tool is configured as it should. One thing that looks strange is your data type, since you are using integer, it is probably removing the decimals from the result.

 

Best,

Fernando Vizcaino

afv2688
16 - Nebula
16 - Nebula

Hello @Joy1,

 

This should show you how to do it.

 

I did also notice that the formula you are applying is on a Int16 value.

 

Would recommend you to change it to double to get the desired results

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards

Labels