<?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? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318516#M708697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Let me know about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 15:32:46 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2011-10-06T15:32:46Z</dc:date>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318514#M708695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to check whether a certain start date lies within a period of any other record in the table. Customers can buy different product form different department with different start and end dates. I would like to determine whether the start date of a product is overlapping with an existing product from that department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustID, ProductID, Department, StartDate, EndDate&lt;/P&gt;&lt;P&gt;1,38495,CHI, 20091201,20100105&lt;/P&gt;&lt;P&gt;1,38496,CHI, 20100131,20100431&lt;/P&gt;&lt;P&gt;2,45285,ORT,20080930,20081201&lt;/P&gt;&lt;P&gt;2,45275,ORT,20081005,20090125&lt;/P&gt;&lt;P&gt;2,58451,KNO,20081108,20090208&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see the second product of customer 2 at the ORT department started at 20081005 while the first product was still open. I would like to add an extra column which tells me for every product if it started while an other was still open, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustID, ProductID, Department, StartDate, EndDate, Parallel&lt;/P&gt;&lt;P&gt;1,38495,CHI, 20091201,20100105,0&lt;/P&gt;&lt;P&gt;1,38496,CHI, 20100131,20100431,0&lt;/P&gt;&lt;P&gt;2,45285,ORT,20080930,20081201,0&lt;/P&gt;&lt;P&gt;2,45275,ORT,20081005,20090125,1&lt;/P&gt;&lt;P&gt;2,58451,KNO,20081108,20090208,0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 15:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318514#M708695</guid>
      <dc:creator />
      <dc:date>2011-10-06T15:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318515#M708696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make another column or add another expression like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿If( StartDate &amp;lt; Above(EndDate) , 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 15:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318515#M708696</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-06T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318516#M708697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached sample file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Let me know about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 15:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318516#M708697</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-06T15:32:46Z</dc:date>
    </item>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318517#M708698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the answer! Sorry, I can not open the attachment: Personal Edition. Can you post it in the text field?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esme&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318517#M708698</guid>
      <dc:creator />
      <dc:date>2011-10-07T07:17:40Z</dc:date>
    </item>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318518#M708699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just add another expression &lt;/P&gt;&lt;P&gt;If( StartDate &amp;lt; Above(EndDate) , 1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to check parallel activity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318518#M708699</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T07:34:08Z</dc:date>
    </item>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318519#M708700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Anand has created a straight chart with dimensions as CustID,ProductID and Dept.ID and expression as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. StartDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. EndDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. If( StartDate &amp;lt; Above(EndDate) , 1,0)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318519#M708700</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-10-07T07:35:50Z</dc:date>
    </item>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318520#M708701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. It works great! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only a problem appeared when the product above is parallel, but not within the same department or for the same customer. Therefor I added a few extra conditions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(CustID=Above(CustID) and Depart=Above(Depart) and&lt;/P&gt;&lt;P&gt;StartDate &amp;lt; Above(Enddate), 'parallel','not-parallel')&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;Esmé&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318520#M708701</guid>
      <dc:creator />
      <dc:date>2011-10-07T07:47:01Z</dc:date>
    </item>
    <item>
      <title>Intervalmatch?</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318521#M708702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="font-color-meta-light " href="https://community.qlik.com/message/155586#155586" style="font-size: 11px; color: #999999;" title="Go to message"&gt;esmeschelling&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks i am glad to help you and thanks kaushik to explaining the objective&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 07:52:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch/m-p/318521#M708702</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-10-07T07:52:32Z</dc:date>
    </item>
  </channel>
</rss>

