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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
SJ_16
Contributor II
Contributor II

Error: Garbage after Expression

Hi,

Within my title I have added the following formula but I now get Error: Garbage after Expression. Any idea how to resolve please?

=[DATE_IN.autoCalendar.Year]={$(=YEAR(TODAY()))}

Thanks

 

1 Solution

Accepted Solutions
tresB
Champion III
Champion III

You could try a simpler expression, like: =year(today())         

 

View solution in original post

3 Replies
tresB
Champion III
Champion III

What are you trying to achieve? Could you explain a bit more?
SJ_16
Contributor II
Contributor II
Author

Sorry I should have added more context.

I need my title to show current year, currently I have a hardcoded value 2018 at the moment but as we edge closer to 2019, I don't want to have to manually change the titles so it would be great to have it automated.
tresB
Champion III
Champion III

You could try a simpler expression, like: =year(today())