Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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
tresesco
MVP
MVP

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

 

View solution in original post

3 Replies
tresesco
MVP
MVP

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.
tresesco
MVP
MVP

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