Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Forecast for current year

Hello everyone,

I want to show dotted line for current year in line chart.

i am not getting how to show expression for current year.

i used below exp but it show dotted line after current date but i want show for current year(not selected year)

=IF(date>Today(),'<s3>','<s1>')

Thanks.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

IF(Year(OrderDate) = Year(Today()),'<s3>','<s1>')

Replace OrderDate with your Date Field

Make sure that you have to use this expression in Line Style

Capture.JPG

View solution in original post

2 Replies
MK_QSL
MVP
MVP

IF(Year(OrderDate) = Year(Today()),'<s3>','<s1>')

Replace OrderDate with your Date Field

Make sure that you have to use this expression in Line Style

Capture.JPG

Anonymous
Not applicable
Author

Perfect.. Thank you Manish