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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Only load eventdates less then maxdate for each post, loop?

Hi

I have a table with a field of eventdates (diffrent dates for diffrent persons) and a field of maxdate (also diffrent for diffrent persons). I want to only load those eventdates that occurs between min(eventdates) (that field also exist) and the maxdate for each person.

Should I use some sort of loop trought each persons eventdates against the persons maxdate or how to solve it?

I would also like to flag the second eventdate for each person.

Any suggestions are mostly appriated. Thank!

I have attached a qvd with sample data.

Labels (1)
1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Data:

LOAD EventDates,

    Id,

    MaxDate2,

    MinDate_EventDate

FROM  [comm121914.qvd] (qvd)

where EventDates < MaxDate2 and EventDates > MinDate_EventDate;


talk is cheap, supply exceeds demand