This field is required.
Only these extensions are allowed(.jpg, .JPG, .jpeg, .JPEG, .gif, .GIF, .png, .PNG)
Tags cannot contain the characters ' /, \\, #, ?, or ; >,< '
Only these extensions are allowed(.zip,.ZIP,.pdf,.PDF,.qvf,.QVF,.qvw,.QVW)
Discussion Board for collaboration related to QlikView App Development.
In the first table below is what is currently available for 1 particular customer in our customer database.
In the second table is what i would like to create.
All the in between dates need to be filled based on the calendar, and it needs to pick up the first status till the status changes.
Has someone an idea how to do this? 🙂
will do the trick foryou
[Table]:Load *,date(date#([Date],'DD-MMM-YY')) as startDate ;LOAD * INLINE[Customer ID,Status,Date1,No,20-Mar-191,Yes,17-Mar-191,No,14-Mar-191,Yes,13-Mar-191,No,10-Mar-19](delimiter is ',');
/// adding the end date for each date
Table2:load * ,date( startDate + iterno()-1) as DateListwhile date( startDate + iterno()-1) < endDate;load *,if(IsNull(Previous(startDate)),startDate+1,previous(startDate)) as endDateresident Tableorder by [Customer ID], startDate DESC;
drop Table Table;
View solution in original post