Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cheburashka
Creator III
Creator III

How to built a report table depending on whether two periods overlap?

Hi,

I need to rebuilt a small reporting table from two small input tables based upon some rules.

One of the rules is that rows of the reported table depend on whether the requested timeperiod (a field in the report table) overlaps with a different time period defined in one of the input tables.

The problem is explained in more detail in the attached Qvw.

Background: I'm basically trying to reconstruct a table that comes as an output of a BO system.

P.S.: Any suggestions how to better formulate the problem?

Thx for your input.

_Koen

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can use the intervalmatch function to match the dates to the periods. See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar

You can use the intervalmatch function to match the dates to the periods. See attached qvw.


talk is cheap, supply exceeds demand