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

start counting from null value

Hi Guys.

I have a table where absenteeism is counted and the count is reset when the field FLAG_AUS >1.

Captura.PNG

but I would like it to restart when in FLUS AUS field it is null.

Captura.PNG

The current code in the script is as follows.

Captura.PNG

please help me with this topic.

Greetings.

Attached the qvw.

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

Accepted Solutions
cristianj23a
Partner - Creator III
Partner - Creator III
Author

I managed to solve the problem.

Captura.PNG

thanks.

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

View solution in original post

3 Replies
ben_pugh
Creator
Creator

can't you just add another clause: or isnull(EMPLOYEE_AUS) ?

ben_pugh
Creator
Creator

... in the line that you have highlighted with the red arrow

cristianj23a
Partner - Creator III
Partner - Creator III
Author

I managed to solve the problem.

Captura.PNG

thanks.

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