<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interval Match error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474504#M177199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had multiple rows in my lookup table (Worker in your example) and I wanted to use Generic Load after the interval match to place those rows as columns into the Production table what would I need to do ? or would this even be possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example - I have timestamps for samples in a samples table and a 2nd table created with extracts from a machine log. These are taken at 15 minute intervals so I am using interval match to bring in the machine state for 13 different settings for any sample time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would now like to add those as columns to my original samples table to allow easier tabular reporting first but I also have a number of charts built around the expressions as a variable and adding the 'new' expressions from my machine table to the samples table would allow me to extend these. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies if this should be a new thread - just seems to fit the sample file given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50633_Capture.JPG.jpg" style="width: 620px; height: 320px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 17:09:41 GMT</pubDate>
    <dc:creator>bdunphy</dc:creator>
    <dc:date>2013-12-18T17:09:41Z</dc:date>
    <item>
      <title>Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474498#M177193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone can explain me why this interval match is not working? Lines 4,5,6 and 13, 14 and 15 shouldn´t exist since the date/time are not between the interval.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474498#M177193</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2013-12-11T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474499#M177194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you have missed to use the field Equipment as parameter to the IntervalMatch prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join (Worker)&lt;/P&gt;&lt;P&gt;IntervalMatch(Date_Time, &lt;STRONG style="color: #800000;"&gt;Equipment&lt;/STRONG&gt;) LOAD DateTime_Initial,DateTime_Final,Equipment RESIDENT Worker;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 17:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474499#M177194</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-11T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474500#M177195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After using this field I have the double of the lines and I can see this if I create a dinamic table with Name field using count(Name) expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select Name = A and Equipment = Y and I the result is 6, when I should have only 3 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain me why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 18:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474500#M177195</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2013-12-11T18:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474501#M177196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, and that is &lt;EM&gt;the correct result of the Join&lt;/EM&gt;. The Join produces one record per combination of Worker and Date_Time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should perhaps instead join the intervalmatch table onto the Production table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or - the solution that I prefer - &lt;EM&gt;you should not join at all&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IntervalMatch(Date_Time, TempEquipment) &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD DateTime_Initial,DateTime_Final,TempEquipment RESIDENT Worker;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BridgeTable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;TempEquipment &amp;amp; '|' &amp;amp; Date_Time as Key1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TempEquipment &amp;amp; '|' &amp;amp; DateTime_Initial &amp;amp; '|' &amp;amp; DateTime_Final as Key2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drop Table TempTable;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Drop Field TempEquipment;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create the Keys and the TempEquipment fields in the two initial tables, and you need to remove the Equipment field from one of the tables.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Bridge.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/50358_Bridge.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 09:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474501#M177196</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-12T09:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474502#M177197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, but I´m missing some point cause I cannot be able to fix this by myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474502#M177197</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2013-12-12T15:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474503#M177198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached you find my version of the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474503#M177198</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-12T17:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474504#M177199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had multiple rows in my lookup table (Worker in your example) and I wanted to use Generic Load after the interval match to place those rows as columns into the Production table what would I need to do ? or would this even be possible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example - I have timestamps for samples in a samples table and a 2nd table created with extracts from a machine log. These are taken at 15 minute intervals so I am using interval match to bring in the machine state for 13 different settings for any sample time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would now like to add those as columns to my original samples table to allow easier tabular reporting first but I also have a number of charts built around the expressions as a variable and adding the 'new' expressions from my machine table to the samples table would allow me to extend these. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies if this should be a new thread - just seems to fit the sample file given&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50633_Capture.JPG.jpg" style="width: 620px; height: 320px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 17:09:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474504#M177199</guid>
      <dc:creator>bdunphy</dc:creator>
      <dc:date>2013-12-18T17:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match error</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474505#M177200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Difficult to say without having seen the data, but in prinicple there is nothing that prevents you from using a combination of intervalmatch and generic. You just have to do it in two or more steps since you cannot have both prefixes on the same load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 19:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match-error/m-p/474505#M177200</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-18T19:14:40Z</dc:date>
    </item>
  </channel>
</rss>

