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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator III

Interval Match and Duplicate Values

Hi,

I am trying to use the interval match and it is generating duplicate values.

While loading the script it is showing as 21 rows and if you see the preview in the Ctrl+T it is showing 31 rows... Attached theQVW file and screenshot for your reference.

1 Reply
Not applicable

Just add a DISTINCT command... Like below..

AUTOGENERATE $(vMaxDate) - $(vMinDate) +1;

FullTable:

JOIN (Data) INTERVALMATCH (Date) LOAD DISTINCT DateStart, DateEnd

RESIDENT Data;

DROP TABLE Calendar;