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: 
Not applicable

Line Chart

Hi Experts

I have the following problem:

I want to display sales data of 2014 and the current year in a cumalative line chart. Of course, for 2015 there is only data for January and February. But the line is continued at the same level until December. How can I prevent this?

ScreenShot200.jpg

Thank you for your help!

Jan

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Go to the Expression Tab and for 2015 click on +

Under Background color, write below condition

IF(Month<= Month(Today()),Blue(),White())

View solution in original post

4 Replies
MK_QSL
MVP
MVP

Go to the Expression Tab and for 2015 click on +

Under Background color, write below condition

IF(Month<= Month(Today()),Blue(),White())

sunny_talwar

What expression are you currently using for 2015? May be there is a way to restrict the line within the expression itself.

Best,

S

Not applicable
Author

Brilliant! Thank you!

Not applicable
Author

Hi Sunindia

Sum ({<Jahr={$(VaktJahr)}>} ([Rohertrag_BA]))

Thank you for your help!