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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
chrisg
Creator III
Creator III

Error in expression! Can't see my mistake

Hi,

I try to run this line:

IF (FileName() = $(vFileString), 'OK', 'Error in FileName') AS MSG,

but i get an error that a ')' is expected

Thx

Chris

Do or Do Not. There is no try!
1 Solution

Accepted Solutions
biester
Specialist
Specialist

Try with

IF (FileName() = '$(vFileString)', 'OK', 'Error in FileName') AS MSG

Rgds,
Joachim

View solution in original post

2 Replies
biester
Specialist
Specialist

Try with

IF (FileName() = '$(vFileString)', 'OK', 'Error in FileName') AS MSG

Rgds,
Joachim

chrisg
Creator III
Creator III
Author

many thx!

Do or Do Not. There is no try!