Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unexpected token - Error with null value

Hello everyone,

I'm having trouble with a null value.

I have the variable vMaxFechaTrafico that evaluates to null.

Variable.PNG

When I run the code I get this error.

Antes.PNG

Error.PNG

If I replace the variable with a dummy one defined as LET vPrueba = Null(); it works fine.

Luego.PNG

I can't find what's wrong with vMaxFechaTrafico.

I would appreciate any light you can shed on this.


Thanks!!!

1 Solution

Accepted Solutions
stascher
Partner - Creator III
Partner - Creator III

You could just use IsNull( vMaxFechaTrafico ) as there is no need to $ substitute in that function.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Solved,

Replaced by Not '$(vMaxFechaTrafico)' = '' and worked!

stascher
Partner - Creator III
Partner - Creator III

You could just use IsNull( vMaxFechaTrafico ) as there is no need to $ substitute in that function.