In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Division with a negative value

hendricksk
7 - Meteor

I have a simple question; I need Alteryx to divide a negative number. It keeps saying Unknown Variable.

-555.555/1000. Attached is the formula.

2 REPLIES 2
apathetichell
20 - Arcturus

not sure what's in your data but this erorr isn't related to a negative/positive number.

you have tonumber([field]/1000). if field isn't already a number - this is an error. if it is already a number - no need to wrap it in tonumber.

 

maybe

 

tonumber([field])/1000?

 

do you have a field called k$/period? maybe you mean:

[k$]/[period] (two other fields?)

hendricksk
7 - Meteor

I took the ToNumber out of the formula, there seemed to be still an error. However, I just rewrote the same formula and the error went away. Thank you so much for your help!!

Labels
Top Solution Authors