<?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: Intervalmatch to correct values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136205#M602378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not change the result.&lt;/P&gt;&lt;P&gt;The values that are not changed are not necessary at the bounds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 10:00:36 GMT</pubDate>
    <dc:creator>takama13</dc:creator>
    <dc:date>2018-08-14T10:00:36Z</dc:date>
    <item>
      <title>Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136201#M602374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My database is a set of 2 Excel files.&lt;/P&gt;&lt;P&gt;Some fields are the same (and used to link the 2 tables), some fields are different.&lt;/P&gt;&lt;P&gt;In each table, I have a field with a date of events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But some data (Service Code) are wrong and I would like to correct them based on an Excel file I created with range dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here below are my tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1&lt;/STRONG&gt; :&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 327px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="87"&gt;Service Code&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;Event&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;Should be&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl64"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event1&lt;/TD&gt;&lt;TD class="xl66"&gt;MAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl64"&gt;01/05/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event2&lt;/TD&gt;&lt;TD class="xl66"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event3&lt;/TD&gt;&lt;TD class="xl66"&gt;COLU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event4&lt;/TD&gt;&lt;TD class="xl66"&gt;CJS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;VES&lt;/TD&gt;&lt;TD class="xl67"&gt;01/01/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event5&lt;/TD&gt;&lt;TD class="xl66"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;VES&lt;/TD&gt;&lt;TD class="xl67"&gt;01/07/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event6&lt;/TD&gt;&lt;TD class="xl66"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MTS&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event7&lt;/TD&gt;&lt;TD class="xl66"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MTS&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event8&lt;/TD&gt;&lt;TD class="xl66"&gt;CTPS&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2 :&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="327"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="87"&gt;Service Code&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;Date&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;EventB&lt;/TD&gt;&lt;TD class="xl65" width="80"&gt;Should be&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl64"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event1&lt;/TD&gt;&lt;TD class="xl66"&gt;MAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl64"&gt;01/05/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event2&lt;/TD&gt;&lt;TD class="xl66"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event3&lt;/TD&gt;&lt;TD class="xl66"&gt;COLU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event4&lt;/TD&gt;&lt;TD class="xl66"&gt;CJS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;VES&lt;/TD&gt;&lt;TD class="xl67"&gt;01/01/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event5&lt;/TD&gt;&lt;TD class="xl66"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;VES&lt;/TD&gt;&lt;TD class="xl67"&gt;01/07/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event6&lt;/TD&gt;&lt;TD class="xl66"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MTS&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl63"&gt;Event7&lt;/TD&gt;&lt;TD class="xl66"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;MTS&lt;/TD&gt;&lt;TD class="xl67"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl63"&gt;Event8&lt;/TD&gt;&lt;TD class="xl66"&gt;CTPS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;&lt;SPAN style="color: #0000ff;"&gt;VIC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67"&gt;&lt;SPAN style="color: #0000ff;"&gt;01/02/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63"&gt;&lt;SPAN style="color: #0000ff;"&gt;Event9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66"&gt;&lt;SPAN style="color: #0000ff;"&gt;VIC&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Service Code correction:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="417"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" width="86"&gt;Service Code&lt;/TD&gt;&lt;TD class="xl68" width="80"&gt;From&lt;/TD&gt;&lt;TD class="xl68" width="131"&gt;To&lt;/TD&gt;&lt;TD class="xl68" width="120"&gt;New Service Code&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2015&lt;/TD&gt;&lt;TD class="xl67"&gt;01/04/2017&lt;/TD&gt;&lt;TD class="xl66"&gt;MAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;MAN&lt;/TD&gt;&lt;TD class="xl67"&gt;02/04/2017&lt;/TD&gt;&lt;TD class="xl67"&gt;05/05/2018&lt;/TD&gt;&lt;TD class="xl66"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2015&lt;/TD&gt;&lt;TD class="xl67"&gt;04/04/2017&lt;/TD&gt;&lt;TD class="xl66"&gt;COLU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;COL&lt;/TD&gt;&lt;TD class="xl67"&gt;05/04/2017&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2019&lt;/TD&gt;&lt;TD class="xl66"&gt;CJS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;VES&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2015&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2019&lt;/TD&gt;&lt;TD class="xl66"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;MTS&lt;/TD&gt;&lt;TD class="xl67"&gt;26/04/2018&lt;/TD&gt;&lt;TD class="xl69"&gt;01/01/2019&lt;/TD&gt;&lt;TD class="xl66"&gt;CTPS&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I use to try and correct the tables :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Service Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Event, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Should be]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Service Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EventB, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Should be] as [Should be 2]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Service Code correction':&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Service Code], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [New Service Code]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join ('Table1')&lt;/P&gt;&lt;P&gt;IntervalMatch ([Date],[Service Code])&lt;/P&gt;&lt;P&gt;LOAD [From], [To], [Service Code] Resident 'Service Code correction';&lt;/P&gt;&lt;P&gt;Right Join('Table1')&lt;/P&gt;&lt;P&gt;LOAD * Resident 'Service Code correction';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join ('Table2')&lt;/P&gt;&lt;P&gt;IntervalMatch ([Date],[Service Code])&lt;/P&gt;&lt;P&gt;LOAD [From], [To], [Service Code] Resident 'Service Code correction';&lt;/P&gt;&lt;P&gt;Left Join('Table2')&lt;/P&gt;&lt;P&gt;LOAD * Resident 'Service Code correction';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table 'Service Code correction';&lt;/P&gt;&lt;P&gt;DROP Field [From];&lt;/P&gt;&lt;P&gt;DROP Field [To];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is correct unless the fact that the lines with Service Code not present in 'Service Code correction' are removed.&lt;/P&gt;&lt;P&gt;I would like to keep them.&lt;/P&gt;&lt;P&gt;What am I doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Result for Table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="368"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="72"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="46"&gt;EventB&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="76"&gt;Service Code&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="71"&gt;Should be 2&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="103"&gt;New Service Code&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/01/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;VES&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;VESP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;MAN&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;MAGE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;MAGE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/06/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;COLU&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;COLU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/05/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;MAN&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;MTS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;MTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event4&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/06/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event8&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;MTS&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CTPS&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CTPS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;01/07/2018&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Event6&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;VES&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;VESP&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;VESP&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can notice that the line with Service Code "VIC" disappeared. I would like to keep this line with 'New Service Code' column empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 08:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136201#M602374</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136202#M602375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inner Join ('Table2')&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IntervalMatch ([Date],[Service Code])&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD [From], [To], [Service Code] Resident 'Service Code correction';&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Left Join('Table2')&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * Resident 'Service Code correction';&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Change the Inner Join to a Left Join if you want to keep all the records from Table2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 08:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136202#M602375</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T08:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136203#M602376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, seems that is the solution.&lt;/P&gt;&lt;P&gt;But I now have an other issue : using this script with my full database (800,000 lines) seems to not work for some values.&lt;/P&gt;&lt;P&gt;If I reduce my database, more values are corrected.&lt;/P&gt;&lt;P&gt;I fear that the intervalmatch function creates a too large table which reach a limit (which one ?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would there be an alternative way to correct my values ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 09:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136203#M602376</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136204#M602377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Try changing the &lt;EM&gt;To&lt;/EM&gt; dates in your interval table to &lt;EM&gt;DayEnd(To) as To&lt;/EM&gt; so they cover the entire day. In other words &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01/04/2017 which is now &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01/04/2017 00:00:00 becomes &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;01/04/2017 23:59:59.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 09:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136204#M602377</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T09:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136205#M602378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not change the result.&lt;/P&gt;&lt;P&gt;The values that are not changed are not necessary at the bounds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 10:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136205#M602378</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T10:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136206#M602379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to isolate a case that is giving an incorrect result.&amp;nbsp; Then check that the data values are really really date values and not some sort of string value that merely looks like a date value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 10:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136206#M602379</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136207#M602380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, there is something weird.&lt;/P&gt;&lt;P&gt;Here is an example of what did not work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 309px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="86"&gt;Service Code&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="103"&gt;New Service Code&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="120"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;16-07-2018 22:54:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;16-07-2018 12:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;STRONG&gt;COL&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;STRONG&gt;15-07-2018 19:30:00&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;15-07-2018 05:05:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;COL&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;CJS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;&lt;P&gt;14-07-2018 06:36:00&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went to my database and changed the date to the 15/07/2018 19:3&lt;STRONG&gt;1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;With this changed, it worked (so I though of about a bad format, as you said).&lt;/P&gt;&lt;P&gt;Then I changed it back to the 15/07/2018 19:30, and it's not working again...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136207#M602380</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T12:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136208#M602381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does that value turn into in Qlikview? In a listbox does it align left or right? If left then that would indicate it's interpreted as a string value by Qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136208#M602381</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T12:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136209#M602382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a value (aligned to the right)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136209#M602382</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T13:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136210#M602383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create a test case, i.e. a small qlikview document + source excel files, for this? Just enough data to have some records that work and one or two that don't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136210#M602383</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136211#M602384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here are the files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136211#M602384</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136212#M602386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like a bug. No idea what's happening. As soon as I change the Date even a tiny bit like rounding it to a fraction of a second with round(Date,1/86400000) all is well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136212#M602386</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2018-08-14T14:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch to correct values</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136213#M602387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will use this workaround until someone could explain this bug.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:34:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-to-correct-values/m-p/136213#M602387</guid>
      <dc:creator>takama13</dc:creator>
      <dc:date>2018-08-14T15:34:06Z</dc:date>
    </item>
  </channel>
</rss>

