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

Continue line in line chart, when there is no data

Hi,

I have a line chart where months are in x-axis and price is in y-axis. I don't have data for the full year.

I have created the following structure If(price_this_month > 0, price_this_month, variable_last_valid_price)

variable_last_valid_price is price of the current month, because that is available.

This works fine when I select one product and the line continues at this month level. However, the variable_last_valid_price sums together when there is two or more products.

How to use a variable separately for each product or is there other ways to use the last available data in the line chart?

 

Labels (1)
0 Replies