Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
AmCh
Creator
Creator

Unexpected Token ','

Hello all,

my variable J744 is defined as following:

let J744=J485*H501/H491;

Inputs:

J485=0 ;  H501=8,5 ; H491=1

Ouput:

J744 should give 850.

The output is not wrong but I have the following error message:

AmCh_0-1620816963751.png

How can I avoid it?

 

Any help please?

Thanks in advance

 

2 Replies
Gysbert_Wassenaar

It's the comma in 8,5. Try 8.5 instead.


talk is cheap, supply exceeds demand
MayilVahanan

HI @AmCh 

Or, try like below


SET DecimalSep=',';
set J485=10 ;
set H501=8,5 ;
set H491=1;

let J744=J485*H501/H491;

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.