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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
lokeshbabu
Contributor
Contributor

Requirement is if value is zero between Quarter need to fill with previous Quarter value.

Hi All,

 

Need to solution for below problem

 

 

Source
Quarter|PPID|Value


16-Q1|20051|0
16-Q2|20051|8
16-Q3|20051|0
16-Q4|20051|8.5
17-Q1|20051|0
17-Q2|20051|0
17-Q3|20051|0
17-Q4|20051|0
18-Q1|20051|0
18-Q2|20051|9
18-Q3|20051|0
18-Q4|20051|0

 

Excepted Result

 


Quarter|PPID|Value


16-Q1|20051|0
16-Q2|20051|8
16-Q3|20051|8
16-Q4|20051|8.5
17-Q1|20051|8.5
17-Q2|20051|8.5
17-Q3|20051|8.5
17-Q4|20051|8.5
18-Q1|20051|8.5
18-Q2|20051|9
18-Q3|20051|9
18-Q4|20051|9


                                           

 

 

requirement is if value is zero between Quarter need to fill with previous Quarter value.

 

Please help me out here.

 

Thanks

Lokesh

 

 

 

 

 

Labels (2)
1 Reply
akumar2301
Specialist II
Specialist II

Hello



Try tmemirizedrow , we can store value in memory and use it after :
https://help.talend.com/reader/mjoDghHoMPI0yuyZ83a13Q/0oEBI6YCTFXSgc5Z9Gpr6Q

Otherwise you can use tmp local variables to store previous record data. And use it accordingly.