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

Populate missing values based on previous row record .

   I am looking to populate any missing records in my data based on the previous value .

The table attached has three missing records for field S111.

The logic is simple

1. If S111 is not null / blank then the value of S111.

2. If S111 is null then populate with the previous S111 value.

I used to previous function but this only worked for the first null value, when row id 12 uses the previous function it looks at row id 11 which is also null / blank therefore not returning 'Stopped' which is the desired result.

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Look at attached qvw.

View solution in original post

2 Replies
m_woolf
Master II
Master II

Look at attached qvw.

ryan_evans1984
Contributor
Contributor
Author

Great ! thats 100% the corect answer.

Thanks