
Contributor III
2018-09-17
08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Filling the gap
Hello All,
I have a table which logs the changes on the status of every reports. For the dates where there is no change, it must fill the value with the previous available date.
In below example ;
Report 1
Date 1 to Date 6 : it must return Yes
Date 7 to Date 10: it must return Suspended
Date 11 to Date 14: Yes
and so on.
Could you please support on which method/function must be used?
Thanks in advance.
- Tags:
- qlikview_scripting
690 Views
3 Replies

Contributor III
2018-09-17
08:56 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By the way this example is transposed to show expected output more clearly,
My original source has report_id, date, report_status
635 Views
2018-09-17
10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use After / Before functions??
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
635 Views

Contributor III
2018-09-17
10:18 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using previous function and while to fill missing dates. i can fill the values before min date and after max update date but it doesnt work in between
635 Views
