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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Syntax Error while creating a variable

Hi,

I run into an error while storing a variable in the script. The error message is Syntax error unexpected token and I'm using the following command:

LET vVariable  = num(Round(Sum(DISTINCT [column name], 0.01), '$#,##.00')

Does anyone have any idea how to solve this problem?

Thanks.

Labels (1)
1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

LET vVariable  = num(Round(Sum(DISTINCT [column name]), 0.01), '$#,##.00')

View solution in original post

2 Replies
antoniotiman
Master III
Master III

LET vVariable  = num(Round(Sum(DISTINCT [column name]), 0.01), '$#,##.00')

dhasharadh
Creator III
Creator III

LET vVariable  = num(Round(Sum(DISTINCT [column name], 0.01), '$#,##.00')


Just forgot to close the extra bracket which is open.