Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Sharbel
Contributor III
Contributor III

Calculating Admission days using IntervalMatch

Hi,

I am trying to use IntervalMatch on source table (see Sample) in order to get the Target table as depicted below:Sharbel_2-1689059267706.png

the purpose is to be able to calculate admission days per month/year.

Any Ideas?

Regards,

Sharbel

 

 

 

 

Labels (1)
1 Solution

Accepted Solutions
tealowk
Partner - Contributor III
Partner - Contributor III

Hi Sharbel,

to achieve the intended result - calculate the admission days per Month/Year - you can create a Months table and then check every VisitID against the respective month.

tealowk_0-1689066684393.png

This way you are able to analyse the admission days per Month and Year.

Hope this helps - even if it's not using the intervalMatch prefix.

Kind regards from Brussels,

Thilo

 

View solution in original post

2 Replies
tealowk
Partner - Contributor III
Partner - Contributor III

Hi Sharbel,

to achieve the intended result - calculate the admission days per Month/Year - you can create a Months table and then check every VisitID against the respective month.

tealowk_0-1689066684393.png

This way you are able to analyse the admission days per Month and Year.

Hope this helps - even if it's not using the intervalMatch prefix.

Kind regards from Brussels,

Thilo

 

Sharbel
Contributor III
Contributor III
Author

Thanks Thilo!