Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
cristianj23a
Partner - Creator III
Partner - Creator III

add the value of the column with the previous value that does not exist

Hi.

I have a table showing the person and the date.

In the highlighted image it is displayed that a person who has as "N ° ASISTENTE" 885 and
"ZOSTB_Elemento_PEP" PU18T3G13111031 and"ZOSTB_NumPers" 1552, until 08/07/2018; therefore, those days are added to the table.

Captura.PNG

Using the following code.

Captura.PNG

It gives me as a result:

Captura.PNG

In the end, that is the table I want, however, if I delete the highlighted filter that was in the code, it will return to this as in the first table.

Captura.PNG

Captura.PNG

Please help me with this topic.
Attached that qvw and xls.
Greetings.

 

 

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
Labels (1)
2 Replies
Marcos_rv
Creator II
Creator II

Good morning, I do not understand the reason why you would want to do that. I understand that using date ranges would be good, but in the case where you have more than one record for the same date, the same "N ° ASSISTANT and the same ZOSTB_NumPers, that should not work.

 

prueba jojojojo.PNG

 

 

cristianj23a
Partner - Creator III
Partner - Creator III
Author

Hi Marcos.

Captura.PNG

 

If you notice in the image, the ZOTB_ELEMENTO_PEP change when day 4 arrives, but I need you to show me on day 2 and 3 with the same ZOTB_ELEMENTO_PEP.

 

regards

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.