Subtraction
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Such a simple thing but I keep getting a "Parse Error". I don't know why. I am trying to add a column that will contain Gross Amount 2 - DTV Revenue Keep
Solved! Go to Solution.
- Labels:
- Designer Cloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @amorej,
This error happens when the data types your using are incorrect. You can only add and subtract numbers, your data is text shown here:
Set your columns to be a numeric data type such as a double:
And the formula will work.
Any questions or issues please ask
Ira Watt
Technical Consultant
Watt@Bulien.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @amorej, have you double checked the data types of your 2 fields? Most likely one of them is still a string and you’re trying to apply numerical functions to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@amorej ,
The default datatype is a STRING. Each of your components for "Subtraction" needs to be a numeric data type {Byte, Int, Double, Fixed, Float}.
If you look at the type that you are currently subtracting, you'll see that it isn't numeric. My guess is that the other fields referenced are not either.
Cheers,
Mark
Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you. That worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
No worries @amorej 😄 You can find some good quick videos on how data types work here on the community Understanding Data Types - Alteryx Community or just check the docs your feeling brave Data Types | Alteryx Help.
