Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with IntervalMatch

Hello,

I'm using the IntervalMatch function to filter within a range of dates for a given date.

What I do is this:

QV_UNIDAD_PROGRAMA:

LOAD

COD_UP,

COD_TEC,

COD_SUBTEC,

PT_MAX,

FEC_INI_VIG as FIV_UP,

FEC_FIN_VIG as FFV_UP

FROM [$ (vpath) QV_UNIDAD_PROGRAMA.qvd] (qvd);

CalendarRes:

LOAD

AddedDate as Date,

Time (Frac (AddedTimeStamp), 'hh') & ': 00' as Time,

Num (Time (Frac (AddedTimeStamp), 'h') & '') + 1 as Period

RESIDENT TempCalendar;

Here the correct loads.

Union:

IntervalMatch (Date)

load distinct

FIV_UP,

FFV_UP

QV_UNIDAD_PROGRAMA resident;

But when we perform IntervalMatch, it generates the following:

IntervalMatch.png

And what I want to know is how Syn1 off the table?

Can anybody help me?

Thank you very much in advance.

A greeting.

1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

//After this

Union:

IntervalMatch (Date)

load distinct

FIV_UP,

FFV_UP

QV_UNIDAD_PROGRAMA resident;

//Use

Left join(QV_UNIDAD_PROGRAMA)

Load

*

residente Union

;

drop table Union;

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

2 Replies
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

//After this

Union:

IntervalMatch (Date)

load distinct

FIV_UP,

FFV_UP

QV_UNIDAD_PROGRAMA resident;

//Use

Left join(QV_UNIDAD_PROGRAMA)

Load

*

residente Union

;

drop table Union;

Help users find answers! Don't forget to mark a solution that worked for you!
Not applicable
Author

thanks so much, worked perfectly