Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Line Chart (Trend) over time until value changes

Hi all,

I have materials prices data, for eg,

MaterialDatePrice per unit
A1-jan-12100
B1-Jan-1250
A1-aug-12110
B1-jan-1348

I want to show for Mat A trend line straight from Jan 12 to July 12 and then hike in Aug 12. SAme for matrail B. I am keeping date as dimension.

How to get it done? How to reload other months in the dimension when they are not there in the data and how to show same price as last month when it is not there in the data?

3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You'll need to add the missing months. See here for how to do that. It is possible to use a continous axis for the Date field so intermediate missing dates are shown, but that won't help showing a line for A beyond 1-aug-12 because that's where the data ends for A.


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

Try to load All months as Inline data and add that as a dimension and draw a line chart .

I hope it helps you

Not applicable
Author

"but that won't help showing a line for A beyond 1-aug-12" may be Henric has answered your concern here (See last comment

"Yes, just change the definition of vMaxDate:

Let vMaxDate = Num(Today())    ;

HIC"


. I will try it at weekend.