You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

to_number not working as expected

edited Dec 5, 2017 3:40PM in Reporting & Analytics for B2C Service 1 comment

Content

Code is below. I'm outputting all 3 fields individually. The first is 1, the second and third are both zero.

When I add a new column with the definition below, I get a value of zero but I am expecting a value of 1

Any reason why?

Code Snippet

             to_number(Uniform$Orders.order_dispatched_quantity) - to_number(Uniform$Orders.missing_quantity) - to_number(Uniform$Orders.received_quantity)
 
        

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!