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.

subtraction- getting error due to data type

Kinetic_analytics
11 - Bolide

Hello great people:

I want to deduct from TOTAL ALL EXPENSE to Sell Amount
     

TOTAL ALL EXPENSESell Amount
414,966414966.25
V-String            15Double

I am using a formula tool to subtract and want to show in column but I am getting error.

 

Appreciate your help. 

3 REPLIES 3
binuacs
21 - Polaris

@Kinetic_analytics One way of doing this

binuacs_0-1674240276953.png

 

n8rushton
Alteryx Alumni (Retired)

I would recommend putting your data through a select tool prior to going into the formula. There you can adjust the stringed integer into an actual where you can perform math on it.

ShankerV
17 - Castor

Hi @Kinetic_analytics 

 

There are many ways to do it, out of which 2 ways are below.

 

ShankerV_0-1674278722027.png

 

Note: The workflow used to achieve the solution is attached which can be downloaded to see how the solution works.

 

If you believe your problem has been resolved. Please mark helpful answers as a solution so that future users with the same problem can find them more easily!!!!

 

Many thanks

Shanker V

 

 

Labels
Top Solution Authors