<?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 or another solution? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932232#M322159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to cut &amp;amp; paste this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; &lt;BR /&gt; Order_Time, Order_ID,Customer_ID&lt;BR /&gt; 28/01/2014 17:09, 638060,141161&lt;BR /&gt; 29/12/2014 09:40, 696482,141161&lt;BR /&gt; 29/12/2014 09:41, 696480,141161&lt;BR /&gt; 29/12/2014 09:48, 696481,141161&lt;BR /&gt; 30/07/2015 09:48, 741114,141161&lt;BR /&gt; 30/07/2015 09:54, 741054,141162&lt;BR /&gt; 01/09/2015 10:22, 747415,141163&lt;BR /&gt; &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Customer_ID,Call Start,Call End&lt;BR /&gt; 111696,01/09/2015 14:48,01/09/2015 14:59&lt;BR /&gt; 141161,01/09/2015 09:46,01/09/2015 09:54&lt;BR /&gt; 130752,01/09/2015 16:30,01/09/2015 16:35&lt;BR /&gt; 132845,01/09/2015 16:30,01/09/2015 16:35&lt;BR /&gt; 133837,01/09/2015 10:23,01/09/2015 10:27&lt;BR /&gt; 133837,01/09/2015 10:32,01/09/2015 10:37&lt;BR /&gt; 141161,01/09/2015 10:14,01/09/2015 10:24&lt;BR /&gt; 189125,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189125,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189125,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; 189126,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189126,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189126,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; 141162,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189273,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189273,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; &lt;BR /&gt; ] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2015 14:13:41 GMT</pubDate>
    <dc:creator>richard_chilvers</dc:creator>
    <dc:date>2015-11-18T14:13:41Z</dc:date>
    <item>
      <title>IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932228#M322155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tables as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PhoneCalls:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustomerID, Call_Start, Call_End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Orders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustomerID, Order_Time, Order_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to append a field to Orders which has value 'O' if the Customer made an order during a phone call (ie. Order_Time is between Call_Start and Call_End) and has value 'L' if the Customer made an order within 7 days of a Call_End.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel this should be quite straight-forward but I'm not good with IntervalMatch and I cannot get it working.&lt;/P&gt;&lt;P&gt;Is this a good approach, or is there a better one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932228#M322155</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-11-18T13:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932229#M322156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can do this with Interval Match. Do you have a sample where we can show you how it is implemented?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932229#M322156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T13:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932230#M322157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean a sample of data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932230#M322157</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-11-18T13:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932231#M322158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 13:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932231#M322158</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T13:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932232#M322159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to cut &amp;amp; paste this?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; &lt;BR /&gt; Order_Time, Order_ID,Customer_ID&lt;BR /&gt; 28/01/2014 17:09, 638060,141161&lt;BR /&gt; 29/12/2014 09:40, 696482,141161&lt;BR /&gt; 29/12/2014 09:41, 696480,141161&lt;BR /&gt; 29/12/2014 09:48, 696481,141161&lt;BR /&gt; 30/07/2015 09:48, 741114,141161&lt;BR /&gt; 30/07/2015 09:54, 741054,141162&lt;BR /&gt; 01/09/2015 10:22, 747415,141163&lt;BR /&gt; &lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Customer_ID,Call Start,Call End&lt;BR /&gt; 111696,01/09/2015 14:48,01/09/2015 14:59&lt;BR /&gt; 141161,01/09/2015 09:46,01/09/2015 09:54&lt;BR /&gt; 130752,01/09/2015 16:30,01/09/2015 16:35&lt;BR /&gt; 132845,01/09/2015 16:30,01/09/2015 16:35&lt;BR /&gt; 133837,01/09/2015 10:23,01/09/2015 10:27&lt;BR /&gt; 133837,01/09/2015 10:32,01/09/2015 10:37&lt;BR /&gt; 141161,01/09/2015 10:14,01/09/2015 10:24&lt;BR /&gt; 189125,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189125,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189125,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; 189126,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189126,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189126,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; 141162,01/09/2015 14:28,01/09/2015 14:29&lt;BR /&gt; 189273,01/09/2015 14:56,01/09/2015 14:56&lt;BR /&gt; 189273,01/09/2015 16:28,01/09/2015 16:30&lt;BR /&gt; &lt;BR /&gt; ] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932232#M322159</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-11-18T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932233#M322160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, this works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932233#M322160</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932234#M322161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;HistoOrder:&lt;/P&gt;&lt;P&gt;IntervalMatch(Order_Date,customer_Id) &lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;&amp;nbsp; Call start&lt;/P&gt;&lt;P&gt;&amp;nbsp; Call end&lt;/P&gt;&lt;P&gt;&amp;nbsp; customer_Id &lt;/P&gt;&lt;P&gt;Resident your secondtable;&lt;/P&gt;&lt;P&gt;Join load * &lt;/P&gt;&lt;P&gt;Resident &lt;SPAN style="font-size: 13.3333px;"&gt;your secondtable;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932234#M322161</guid>
      <dc:creator>syukyo_zhu</dc:creator>
      <dc:date>2015-11-18T14:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932235#M322162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Orders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order_Time, Order_ID,Customer_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;28/01/2014 17:09, 638060,141161&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;29/12/2014 09:40, 696482,141161&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;29/12/2014 09:41, 696480,141161&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;29/12/2014 09:48, 696481,141161&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;30/07/2015 09:48, 741114,141161&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;30/07/2015 09:54, 741054,141162&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/09/2015 10:22, 747415,141163&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PhoneCalls:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer_ID,Call Start,Call End&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;111696,01/09/2015 14:48,01/09/2015 14:59&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;141161,01/09/2015 09:46,01/09/2015 09:54&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;130752,01/09/2015 16:30,01/09/2015 16:35&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;132845,01/09/2015 16:30,01/09/2015 16:35&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;133837,01/09/2015 10:23,01/09/2015 10:27&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;133837,01/09/2015 10:32,01/09/2015 10:37&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;141163,01/09/2015 10:14,01/09/2015 10:24&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189125,01/09/2015 14:28,01/09/2015 14:29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189125,01/09/2015 14:56,01/09/2015 14:56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189125,01/09/2015 16:28,01/09/2015 16:30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189126,01/09/2015 14:28,01/09/2015 14:29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189126,01/09/2015 14:56,01/09/2015 14:56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189126,01/09/2015 16:28,01/09/2015 16:30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;141162,01/09/2015 14:28,01/09/2015 14:29&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189273,01/09/2015 14:56,01/09/2015 14:56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;189273,01/09/2015 16:28,01/09/2015 16:30&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Orders)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IntervalMatch(Order_Time, Customer_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Call Start],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [Call End],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Customer_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident PhoneCalls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table PhoneCalls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalOrders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Len(Trim([Call Start])) &amp;gt; 0, 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Orders;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Orders;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105908_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932235#M322162</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-18T14:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932236#M322163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And if you want to tag also the order done in the 7 days you can change the end of the script like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Orders)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IntervalMatch(Order_Time, Customer_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Call Start],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [Call End],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Customer_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident PhoneCalls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Orders)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IntervalMatch(Order_Time, Customer_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Call Start] as [Call Start7],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; [Call End]+7 as [Call End7],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Customer_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident PhoneCalls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table PhoneCalls;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalOrders:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Len(Trim([Call Start])) &amp;gt; 0, 'O', if(&lt;/STRONG&gt;Len(Trim([Call Start7])) &amp;gt; 0,'L')&lt;STRONG&gt;) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Orders;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 14:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932236#M322163</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2015-11-18T14:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: IntervalMatch or another solution?</title>
      <link>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932237#M322164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone.&lt;/P&gt;&lt;P&gt;I couldn't get this to work in my model ......and then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realised it was because my TimeStampFormat was incompatible ! When I changed it, it was fine. An easy mistake ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 15:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IntervalMatch-or-another-solution/m-p/932237#M322164</guid>
      <dc:creator>richard_chilvers</dc:creator>
      <dc:date>2015-11-18T15:00:57Z</dc:date>
    </item>
  </channel>
</rss>

