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: 
samuel_brierley
Creator
Creator

Interval match

Can anybody advise where im going wrong with this?

load

[Date Detected],
    
[Date Cleared]
    
FROM
[blah blah blah]
(
ooxml, embedded labels, table is Halogen);
load [Interval Date]
from

[Blah blah blah]
(
ooxml, embedded labels, table is Date);
IntervalMatch ([Interval Date])

load Distinct [Date Detected],[Date Cleared]resident Halogen

the interval date is juts a column of days, one row for each day.

date detected and date cleared are self explanatory.

Dropbox - qlikview.xlsm

by looking at the table the interval IS NOT between the fault detected and fault cleared as it should be.

NOTE: the collumns A-C are completely unrelated to this

3 Replies
vikasmahajan

PFA

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
samuel_brierley
Creator
Creator
Author

sorry i only have the trial I cant open them

Not applicable

Dear

Try it will work.

A:

load

     Key,

     [Date Detected],

     [Date Cleared]

     FROM

[blah blah blah]

(ooxml, embedded labels, table is Halogen);

B:

load Key, [Interval Date]

  from

[Blah blah blah]

(ooxml, embedded labels, table is Date);

JOIN

IntervalMatch([Interval Date],Key)

  load [Date Detected], [Date Cleared],Key resident A;

Here Key means primary key by which you linked or join your table.

Regards

Vimlesh Gupta