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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select a Field with max Date Between two other dates

Hi Folks,

Please help me, I'm getting mad.

I have two tables...

Moviment table - which has the hospital section  and the date/Hour that the pacient was moved.. and

Collect table - which has the kind of vital signs, and the date/hour that it was collected...

I need to report where was the pacient when each vital sign was collected.

I thought to take the max Date of Moviment table between the previous Collect Date and the actual Collect date. But I don't even know how to do it.

Anyone has an Idea?

Labels (1)
1 Reply
MK_QSL
MVP
MVP

I think IntervalMatch function at script will help you on this.

Can you provide few lines of sample data for both tables.. (around 5 to 6 lines with two different patients)

Also provide the output you needed