Alteryx Designer Desktop Discussions

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

Making a Calculator App

VipulG
5 - Atom

Hi All,

 

I want to make an Alteryx app that can be used as a calculator. The user should get 3 inputs options to enter the data, namely first number that user wants to enter, second number that user wants to enter and the third input should be the operation that needs to be performed.

 

Example 1 :

 

Input 1 - 3

Input 2 - 2

Input 3 - Addition

 

Result - 5

 

Example 2 :

 

Input 1 - 5

Input 2 - 2

Input 3 - Subtraction

 

Result - 3

 

Example 3 :

 

Input 1 - 10

Input 2 - 2

Input 3 - Division

 

Result - 5

 

Example 4 :

 

Input 1 - 5

Input 2 - 3

Input 3 - Multiplication

 

Result - 15

 

 

Any Help will be highly appreciated.

 

Regards

Vipul

2 REPLIES 2
JamesCharnley
13 - Pulsar

Hi @VipulG ,

 

I think this is pretty close to what you're looking for. It uses the dynamic replace tool to do a calculation in a cell after using the interface tools to alter the text input.

 

JamesCharnley_0-1665571837755.png

 

An example of one of your requests:

 

JamesCharnley_0-1665572090049.png

 

 

DataNath
17 - Castor

Here's another way of doing this:

 

DataNath_0-1665572684454.png

 

There's also the option of using a dropdown with NAME:VALUE entries so that it's a little more user-friendly:

 

DataNath_0-1665573001490.png

DataNath_1-1665572796955.png

Labels