Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
vesiletaskiran
Contributor III
Contributor III

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?

example.jpg

Thanks in advance.

3 Replies
vesiletaskiran
Contributor III
Contributor III
Author

By the way this example is transposed to show expected output more clearly,

My original source has report_id, date, report_status

Anil_Babu_Samineni

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
vesiletaskiran
Contributor III
Contributor III
Author

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