<?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 Concatenating tables based on dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenating-tables-based-on-dates/m-p/813709#M1033737</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 would like to take a table, and concatenate records with each other,&lt;/P&gt;&lt;P&gt;only if there is an overlap with the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dates are in start - end (as against to daily represntation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i turn the raw table (on the right), to the table on the left?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75651" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75651_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Nir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 14:48:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-19T14:48:37Z</dc:date>
    <item>
      <title>Concatenating tables based on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-tables-based-on-dates/m-p/813709#M1033737</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 would like to take a table, and concatenate records with each other,&lt;/P&gt;&lt;P&gt;only if there is an overlap with the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dates are in start - end (as against to daily represntation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i turn the raw table (on the right), to the table on the left?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="75651" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/75651_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Nir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 14:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-tables-based-on-dates/m-p/813709#M1033737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-19T14:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating tables based on dates</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-tables-based-on-dates/m-p/813710#M1033738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;ID, Start, End, Service&lt;/P&gt;&lt;P&gt;123,1.1,30.1,TTR&lt;/P&gt;&lt;P&gt;123,15.1,30.1,Boost&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Start,&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(ID=peek(ID) and End=peek(End), Peek(Start), End) as End,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Service&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp; a&lt;/P&gt;&lt;P&gt;order by ID, Start desc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table a;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 20:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-tables-based-on-dates/m-p/813710#M1033738</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-01-19T20:12:28Z</dc:date>
    </item>
  </channel>
</rss>

