Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to deal with non existing data?

Hi Community,

The data keeps record of the customer statuses within the course of 12 weeks.

table1.png

I am asked to create a new status called "Still Selected" that will ideally tell us whether there has been a status for a particular week.

For example, accountno 9626665 has 2 records for week 6 and the other one week 9. So, for weeks 1, 2, 3, 4,5,7,8,10, and 11 there has been no primary status, therefor no records. The goal is to create a new status Still Selected which will be 1 when there is no status in a week and 0 when at least one status exist in that week.

table2.png

The challenge is I don't know how to set a condition to assess whether there is any status for each week when there is no records for some of the weeks!

Thanks,

1 Reply
Anil_Babu_Samineni

PFA

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