<?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: How to calculate the intersection between two date columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500092#M186865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Changjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; can you please explain row 3,4 and 5 are coming warning,i didn't get you can you please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks SHAIK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jan 2014 11:00:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-13T11:00:59Z</dc:date>
    <item>
      <title>How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500090#M186863</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;I want to calculate the intersection between two date columns,the data like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Intersection.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51392_Intersection.png" /&gt;&lt;/P&gt;&lt;P&gt;the two date columns are a group by ID_1 and ID_2, what I want is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, the different group do not be considered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then if in some group, there is intersection between two rows like row 1 and row 2 or row 4 and row 5,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then output String "Warning" in all rows of this group in WARNING column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result what I want is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Intersection2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/51393_Intersection2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the in row 3 and WARNING column is "Warning" because row 4 and row 5, not row 1 and row 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, is there any possible to make it in expression? or only in script? whatever, I want to know how to make it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have clarified what I want, thank you all!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 10:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500090#M186863</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-01-13T10:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500091#M186864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should apply interval match fucntion pls refer following link.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3557"&gt;http://community.qlik.com/docs/DOC-3557&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 10:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500091#M186864</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-01-13T10:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500092#M186865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Changjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; can you please explain row 3,4 and 5 are coming warning,i didn't get you can you please explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks SHAIK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 11:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500092#M186865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T11:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500093#M186866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because if there is a intersection in a group, all rows of the WARNING column of this group will change to "Warning".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Between&lt;/P&gt;&lt;P&gt;2013-04-01 to 2013-04-20&amp;nbsp; and&lt;/P&gt;&lt;P&gt;2013-04-10 to 2013-05-10&lt;/P&gt;&lt;P&gt;, there is 10 days overlapped, so it is a intersection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you basha, I hope I have clarified what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 01:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500093#M186866</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-01-14T01:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500094#M186867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mahajan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already read the doc about interval match function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And can it use in expression and even in script I also don't know how to use it in my job, because I don't have a column &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like Marks to match. Do you have any ideas? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 02:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500094#M186867</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2014-01-14T02:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the intersection between two date columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500095#M186868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the load script in the attached.&amp;nbsp; I think it should give you what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:55:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-the-intersection-between-two-date-columns/m-p/500095#M186868</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-14T16:55:03Z</dc:date>
    </item>
  </channel>
</rss>

