<?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: Intermatch count with several lines in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745636#M590792</link>
    <description>&lt;P&gt;I was able to get this from the script in the bottom.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1600696024115.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40919i327ACEC03944D466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1600696024115.png" alt="Vegar_0-1600696024115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Travels:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Load * inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Car,StartTime,EndTime, Line&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:00:00, 01/01/2020 08:40:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:40:00, 01/01/2020 09:20:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 09:20:00, 01/01/2020 10:00:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:00:00, 01/01/2020 08:40:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:40:00, 01/01/2020 09:20:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 09:20:00, 01/01/2020 10:00:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Passengers:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Load * inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Car,Time&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:50:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 09:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:30:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 09:30:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Left join&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;IntervalMatch (Time,Car)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD StartTime, EndTime, Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Resident Travels;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LEFT Join (Travels)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD count(Car) as NoOfTravelers, StartTime,EndTime,Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Resident Passengers&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Group by StartTime,EndTime,Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Drop table Passengers;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 13:48:03 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2020-09-21T13:48:03Z</dc:date>
    <item>
      <title>Intermatch count with several lines</title>
      <link>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745616#M590791</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm trying to join two tables but I'm having difficult because one of the tables have about 20 million lines (passengers table) and I'm creating more lines with my join. I have two tables: Passengers and Travels. I want to get the count of passengers in each travel and keep the travels table and drop the passengers table.&lt;/P&gt;&lt;P&gt;Travels:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Car,StartTime,EndTime, Line&lt;/P&gt;&lt;P&gt;1,01/01/2020 08:00:00,&amp;nbsp;01/01/2020 08:40:00, 100&lt;/P&gt;&lt;P&gt;1,01/01/2020 08:40:00,&amp;nbsp;01/01/2020 09:20:00, 100&lt;/P&gt;&lt;P&gt;1,01/01/2020 09:20:00,&amp;nbsp;01/01/2020 10:00:00, 100&lt;/P&gt;&lt;P&gt;2,01/01/2020 08:00:00,&amp;nbsp;01/01/2020 08:40:00, 101&lt;/P&gt;&lt;P&gt;2,01/01/2020 08:40:00,&amp;nbsp;01/01/2020 09:20:00, 101&lt;/P&gt;&lt;P&gt;2,01/01/2020 09:20:00,&amp;nbsp;01/01/2020 10:00:00, 101&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Passengers:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Car,Time&lt;/P&gt;&lt;P&gt;1,01/01/2020 08:10:00&lt;/P&gt;&lt;P&gt;1,01/01/2020 08:50:00&lt;/P&gt;&lt;P&gt;1,01/01/2020 09:10:00&lt;/P&gt;&lt;P&gt;2,01/01/2020 08:10:00&lt;/P&gt;&lt;P&gt;2,01/01/2020 08:30:00&lt;/P&gt;&lt;P&gt;2,01/01/2020 09:30:00&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The final table should look like:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE width="487px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="51.84px" height="10px"&gt;Car&lt;/TD&gt;&lt;TD width="128.64px" height="10px"&gt;StartTime&lt;/TD&gt;&lt;TD width="141.44px" height="10px"&gt;EndTime&lt;/TD&gt;&lt;TD width="40.32px" height="10px"&gt;Line&lt;/TD&gt;&lt;TD width="123.52px" height="10px"&gt;Nr. Passengers&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="23px"&gt;1&lt;/TD&gt;&lt;TD width="128.64px" height="23px"&gt;01/01/2020 08:00&lt;/TD&gt;&lt;TD width="141.44px" height="23px"&gt;01/01/2020 08:40&lt;/TD&gt;&lt;TD width="40.32px" height="23px"&gt;100&lt;/TD&gt;&lt;TD width="123.52px" height="23px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="28px"&gt;1&lt;/TD&gt;&lt;TD width="128.64px" height="28px"&gt;01/01/2020 08:40&lt;/TD&gt;&lt;TD width="141.44px" height="28px"&gt;01/01/2020 09:20&lt;/TD&gt;&lt;TD width="40.32px" height="28px"&gt;100&lt;/TD&gt;&lt;TD width="123.52px" height="28px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="24px"&gt;1&lt;/TD&gt;&lt;TD width="128.64px" height="24px"&gt;01/01/2020 09:20&lt;/TD&gt;&lt;TD width="141.44px" height="24px"&gt;01/01/2020 10:00&lt;/TD&gt;&lt;TD width="40.32px" height="24px"&gt;100&lt;/TD&gt;&lt;TD width="123.52px" height="24px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="23px"&gt;2&lt;/TD&gt;&lt;TD width="128.64px" height="23px"&gt;01/01/2020 08:00&lt;/TD&gt;&lt;TD width="141.44px" height="23px"&gt;01/01/2020 08:40&lt;/TD&gt;&lt;TD width="40.32px" height="23px"&gt;101&lt;/TD&gt;&lt;TD width="123.52px" height="23px"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="26px"&gt;2&lt;/TD&gt;&lt;TD width="128.64px" height="26px"&gt;01/01/2020 08:40&lt;/TD&gt;&lt;TD width="141.44px" height="26px"&gt;01/01/2020 09:20&lt;/TD&gt;&lt;TD width="40.32px" height="26px"&gt;101&lt;/TD&gt;&lt;TD width="123.52px" height="26px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="51.84px" height="32px"&gt;2&lt;/TD&gt;&lt;TD width="128.64px" height="32px"&gt;01/01/2020 09:20&lt;/TD&gt;&lt;TD width="141.44px" height="32px"&gt;01/01/2020 10:00&lt;/TD&gt;&lt;TD width="40.32px" height="32px"&gt;101&lt;/TD&gt;&lt;TD width="123.52px" height="32px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745616#M590791</guid>
      <dc:creator>Vinerc</dc:creator>
      <dc:date>2024-11-15T23:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Intermatch count with several lines</title>
      <link>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745636#M590792</link>
      <description>&lt;P&gt;I was able to get this from the script in the bottom.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1600696024115.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40919i327ACEC03944D466/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1600696024115.png" alt="Vegar_0-1600696024115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Travels:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Load * inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Car,StartTime,EndTime, Line&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:00:00, 01/01/2020 08:40:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:40:00, 01/01/2020 09:20:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 09:20:00, 01/01/2020 10:00:00, 100&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:00:00, 01/01/2020 08:40:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:40:00, 01/01/2020 09:20:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 09:20:00, 01/01/2020 10:00:00, 101&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Passengers:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Load * inline&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Car,Time&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 08:50:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;1,01/01/2020 09:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:10:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 08:30:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;2,01/01/2020 09:30:00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Left join&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;IntervalMatch (Time,Car)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD StartTime, EndTime, Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Resident Travels;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LEFT Join (Travels)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD count(Car) as NoOfTravelers, StartTime,EndTime,Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Resident Passengers&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Group by StartTime,EndTime,Car&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Drop table Passengers;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 13:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745636#M590792</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-09-21T13:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Intermatch count with several lines</title>
      <link>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745676#M590793</link>
      <description>&lt;P&gt;Vegar, it worked great! Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intermatch-count-with-several-lines/m-p/1745676#M590793</guid>
      <dc:creator>Vinerc</dc:creator>
      <dc:date>2020-09-21T15:04:43Z</dc:date>
    </item>
  </channel>
</rss>

