Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

jsf_fasoli
Contributor II

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
Contributor

Re: Unexpected token - Error with null value

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

2 Replies
jsf_fasoli
Contributor II

Re: Unexpected token - Error with null value

Solved,

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

stascher
Contributor

Re: Unexpected token - Error with null value

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

Community Browser