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: 
thom_sundberg
Contributor II
Contributor II

KPI by year and status

Hi,

I am trying to filter KPI by status and year, but cant get it to work with year. What am I doing wrong?

Sum({<Status={'Avslutad'},[Agreement_startdate.autoCalendar.Year]={"=Year(Today())"}>}Estimatedvalue)

Thanks in advance

1 Solution

Accepted Solutions
thom_sundberg
Contributor II
Contributor II
Author

Got it to work:

Sum({<Status={'Avslutad'},[Agreement_startdate.autoCalendar.Year]={"$(=Year(Today()))"}>}Estimatedvalue)

View solution in original post

3 Replies
Vegar
MVP
MVP

Try
Sum({<Status={'Avslutad'},[Agreement_startdate.autoCalendar.Year]={"=$(=Year(Today()))"}>}Estimatedvalue)
thom_sundberg
Contributor II
Contributor II
Author

Tried it, does not work.

Can get it to work with just '2019' and '2018'. 

thom_sundberg
Contributor II
Contributor II
Author

Got it to work:

Sum({<Status={'Avslutad'},[Agreement_startdate.autoCalendar.Year]={"$(=Year(Today()))"}>}Estimatedvalue)