Community Halloween is live until October 31st! Complete any 2 quick activities to earn the 2025 Community Halloween badge. Feeling brave? Check out the activities here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Subtract 2 String with Numeric value

shivanand612
7 - Meteor

Hi All,

 

I wanted to create a new filed called "Net" that will be the subtract the 2 fields.

 

 

NameTargetAchieved
Closed accounts10080
Opened accounts200120

 

I want a new filed as below

NameTargetAchieved
Net10040

 

The Formulae for Net is = Opened accounts - Closed Accounts

 

Thank you,

Shiva

2 REPLIES 2
PatForData
8 - Asteroid

Hi @shivanand612 

 

You can try the attached method. Completing a double pivot to change the layout of your data making it simple to use a formula tool.

 

PatForData_0-1634916021258.png

 

Hope this helps out!

 

Pat

 

atcodedog05
22 - Nova
22 - Nova

Hi @shivanand612 

 

Here is my take on it.

 

Workflow:

atcodedog05_0-1634917200000.png

 

Hope this helps : )

 

Labels
Top Solution Authors