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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Generic Load with Repeating events

Im looking at some data where they change the status of the patients multiple times.. Here is my issue, the patient has a couple statuses for instance

Patient # Status Status Date/Time

1234 ARRIVED 1/2/2011 10:00 AM

1234 WAITROOM 1/2/2011 10:02 AM

1234 REG 1/2/2011 10:05 AM

1234 WAITROOM 1/2/2011 10:10 AM

Right now with my Generic Load it looks like this

Patient # ARRIVED WAITROOM REG

1234 1/2/2011 10:00 AM 1/2/2011 10:02 AM 1/2/2011 10:05 AM

1234 1/2/2011 10:00 AM 1/2/2011 10:10 AM 1/2/2011 10:05 AM

How do I deal with the WAITROOM status since it can occur more then once ?





3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

What do you want the result to be? One row with the earliest or latest WAITROOM? Or multiple fields. WAITROOM1, WATIROOM2, etc?

Not applicable
Author

I would like WAITROOM1 and WAITROOM2

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Attached is a possible solution.