Reason for error
- 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
Parse error at char(10): Type mismatch in operator +
Can any one tell me what is the reason behind this error.
1 because its trying to combine 2 fields with different data type. This is what is coming to my mind.
Solved! Go to Solution.
- Labels:
- Error Message
- Parse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @AbdulBasit,
This is correct.
This error comes up when trying to combine two datatypes that are not compatible,
for example trying to add a string and int datatype together.
Look at this solution for more information 🙂
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Error-Type-mismatch-in-operator/ta-...
I have added a quick workflow I created to show some solutions as well.
(I would not use the ToString function for adding two numbers together, as in my example
45 + 23 becomes 4523, and not 68. In this case either change both types to int in either the select tool
or use the ToNumber function is better, as they are then adding up like normal then.)
//Regards
Elias
