<?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 other solution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275760#M400765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Lift Min and Max timestamps from your IST-Daten.&lt;/LI&gt;&lt;LI&gt;Create a table with just DateTime values every 15 minutes between Min and Max timestamps.&lt;/LI&gt;&lt;LI&gt;Use INTERVALMATCH to match all these 15-min values to the OP_KISIM.Ist_Schnitt -&amp;gt; &lt;SPAN style="font-size: 13.3333px;"&gt;OP_KISIM.Ist_Naht periods and join them into IST-Daten. You will get a huge list of 15-minute DateTime rows.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Use you initial INTERVALMATCH to map the Kapazitäten table onto this huge list.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first INTERVALMATCH can be replaced by a LOAD ... FROM ... WHILE loop to duplicate rows in IST-Daten as long as you have 15-min pieces. Slower but uses actual start &amp;amp; stop timestamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Mar 2017 16:54:43 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2017-03-13T16:54:43Z</dc:date>
    <item>
      <title>Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275755#M400760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would work with the following 2 tables:&lt;/P&gt;&lt;P&gt;- Kapazitäten (capacities)-&amp;gt; the offered time per date, time and place&lt;/P&gt;&lt;P&gt;- IST-Daten -&amp;gt; the live data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table-structur is as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Beispiel.bmp" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156065_Beispiel.bmp" style="width: 620px; height: 343px;" /&gt;&lt;/P&gt;&lt;P&gt;In the table IST-Daten I would calculate how well the capacities ar used. Therefore I would add two new column (from Table Kapazitäten: KapazitätenDatumStartzeit and KapazitätenDatumStopzeit) in this table.&lt;/P&gt;&lt;P&gt;I tried with Intervalmatch but unfortunately without solution for two columns.&lt;/P&gt;&lt;P&gt;Attached you see the qlikview-file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;Marlies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 06:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275755#M400760</guid>
      <dc:creator>schurter</dc:creator>
      <dc:date>2017-03-13T06:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275756#M400761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;your problem is you have to time ranges in the two tables &lt;/P&gt;&lt;P&gt;when you use intervalmatch in one table you should have only one time field &lt;/P&gt;&lt;P&gt;for example you can create one timestamp for the activity any 5 minutes and then connect the two tables &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 07:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275756#M400761</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2017-03-13T07:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275757#M400762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you not do this with a left join and an if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Ist_Naht &amp;gt;= KapazitätDatumStartzeit AND Ist_Schnitt &amp;lt;= KapazitätDatumStopzeit,1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 08:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275757#M400762</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-13T08:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275758#M400763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much for the answer!&lt;/P&gt;&lt;P&gt;Perhaps any 15 Minutes should be enough. How can I make this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 16:41:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275758#M400763</guid>
      <dc:creator>schurter</dc:creator>
      <dc:date>2017-03-13T16:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275759#M400764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your answer.&lt;/P&gt;&lt;P&gt;How can I make a left join when I've not the same key. In the table IST-Daten are timestamps like 07:41 and in the capacities are timestamps like 07:40...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 16:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275759#M400764</guid>
      <dc:creator>schurter</dc:creator>
      <dc:date>2017-03-13T16:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275760#M400765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;Lift Min and Max timestamps from your IST-Daten.&lt;/LI&gt;&lt;LI&gt;Create a table with just DateTime values every 15 minutes between Min and Max timestamps.&lt;/LI&gt;&lt;LI&gt;Use INTERVALMATCH to match all these 15-min values to the OP_KISIM.Ist_Schnitt -&amp;gt; &lt;SPAN style="font-size: 13.3333px;"&gt;OP_KISIM.Ist_Naht periods and join them into IST-Daten. You will get a huge list of 15-minute DateTime rows.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Use you initial INTERVALMATCH to map the Kapazitäten table onto this huge list.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first INTERVALMATCH can be replaced by a LOAD ... FROM ... WHILE loop to duplicate rows in IST-Daten as long as you have 15-min pieces. Slower but uses actual start &amp;amp; stop timestamps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 16:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275760#M400765</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-13T16:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275761#M400766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I received a good solutions under the German users:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1238110#1238110"&gt;https://community.qlik.com/message/1238110#1238110&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best, Marlies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 12:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275761#M400766</guid>
      <dc:creator>schurter</dc:creator>
      <dc:date>2017-03-27T12:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275762#M400767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please note that the link you mentioned refers to a post in a &lt;EM&gt;private&lt;/EM&gt; group. Most of us do not have access to that group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if you could summarize the solution in this thread as well. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 12:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275762#M400767</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-27T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch or other solution</title>
      <link>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275763#M400768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, ok, thanks for the Input!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attachement. I received it without comment, but it is very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best, Marlies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 13:11:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intervalmatch-or-other-solution/m-p/1275763#M400768</guid>
      <dc:creator>schurter</dc:creator>
      <dc:date>2017-03-27T13:11:05Z</dc:date>
    </item>
  </channel>
</rss>

