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: 
stantrolav
Partner - Creator II
Partner - Creator II

Load value in previous ROW if Null

Hi!

In Attachment you'll find example for work. Sheet 1 is loaded data. Sheet 2 is what I need to make in QVD table.

QUESTION:

How can I load data to spec fields in  row with data from previous row if there is no data for date?

3 Replies
luciancotea
Specialist
Specialist

First you have to generate the rows, then fill the values.

1) Generate calendar table.( for each "Agr", get min(Date) and max(Date) values and generate Date rows)

2) Join to current table

3) Using PEEK(), get values from previous row if current has null values.

stantrolav
Partner - Creator II
Partner - Creator II
Author

Could you write an example of Using PEEK() for my variant?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached qvw.


talk is cheap, supply exceeds demand