<?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 negative values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627066#M46677</link>
    <description>&lt;P&gt;You need to switch the values start and end for the negative values in your inline table.&lt;/P&gt;&lt;P&gt;-5 is smaller than -1.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 17:24:22 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-09-23T17:24:22Z</dc:date>
    <item>
      <title>Intervalmatch negative values</title>
      <link>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627026#M46674</link>
      <description>&lt;P&gt;Dear folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use intervalmatch with negative values, as well.&lt;/P&gt;&lt;P&gt;Unfortunately only my positive intervals get matched.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/t5/image/serverpage/image-id/19867iF512462E26C24CB6/image-size/large?v=1.0&amp;amp;px=-1" border="0" width="714" height="347" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/P&gt;&lt;P&gt;Here is some code sample:&lt;/P&gt;&lt;P&gt;Time_Intervals:&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;Start, End, Cluster, FR24.event&lt;/P&gt;&lt;P&gt;0, 0, ZERO, gate_arrival&lt;/P&gt;&lt;P&gt;1, 5, &amp;gt;=1 &amp;lt;=5 MIN, gate_arrival&lt;BR /&gt;6, 15, &amp;gt;=6 &amp;lt;=15 MIN, gate_arrival&lt;BR /&gt;16, 30, &amp;gt;=16 &amp;lt;=30 MIN, gate_arrival&lt;BR /&gt;31, 60, &amp;gt;=31 &amp;lt;=60 MIN, gate_arrival&lt;BR /&gt;61, 120, &amp;gt;1h &amp;lt;=2h, gate_arrival&lt;BR /&gt;121,300, &amp;gt;2h &amp;lt;=5h, gate_arrival&lt;BR /&gt;301, 600, &amp;gt;5h &amp;lt;=10h, gate_arrival&lt;BR /&gt;600, 10000, &amp;gt;10h, gate_arrival&lt;/P&gt;&lt;P&gt;-1, -5, &amp;lt;=-1 &amp;gt;=-5 MIN, gate_arrival&lt;BR /&gt;-6, -15, &amp;lt;=-6 &amp;gt;=-15 MIN, gate_arrival&lt;BR /&gt;-16, -30, &amp;lt;=-16 &amp;gt;=-30 MIN, gate_arrival&lt;BR /&gt;-31, -60, &amp;lt;=-31 &amp;gt;=-60 MIN, gate_arrival&lt;BR /&gt;-61, -120, &amp;lt;-1h &amp;gt;=-2h, gate_arrival&lt;BR /&gt;-121,-300, &amp;lt;-2h &amp;gt;=-5h, gate_arrival&lt;BR /&gt;-301, -600, &amp;lt;-5h &amp;gt;=-10h, gate_arrival&lt;BR /&gt;-600, -10000, &amp;lt;-10h, gate_arrival&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;0, 0, ZERO, gate_departure&lt;/P&gt;&lt;P&gt;1, 5, &amp;gt;=1 &amp;lt;=5 MIN, gate_departure&lt;BR /&gt;6, 15, &amp;gt;=6 &amp;lt;=15 MIN, gate_departure&lt;BR /&gt;16, 30, &amp;gt;=16 &amp;lt;=30 MIN, gate_departure&lt;BR /&gt;31, 60, &amp;gt;=31 &amp;lt;=60 MIN, gate_departure&lt;BR /&gt;61, 120, &amp;gt;1h &amp;lt;=2h, gate_departure&lt;BR /&gt;121,300, &amp;gt;2h &amp;lt;=5h, gate_departure&lt;BR /&gt;301, 600, &amp;gt;5h &amp;lt;=10h, gate_departure&lt;BR /&gt;600, 10000, &amp;gt;10h, gate_departure&lt;/P&gt;&lt;P&gt;-1, -5, &amp;lt;=-1 &amp;gt;=-5 MIN, gate_departure&lt;BR /&gt;-6, -15, &amp;lt;=-6 &amp;gt;=-15 MIN, gate_departure&lt;BR /&gt;-16, -30, &amp;lt;=-16 &amp;gt;=-30 MIN, gate_departure&lt;BR /&gt;-31, -60, &amp;lt;=-31 &amp;gt;=-60 MIN, gate_departure&lt;BR /&gt;-61, -120, &amp;lt;-1h &amp;gt;=-2h, gate_departure&lt;BR /&gt;-121,-300, &amp;lt;-2h &amp;gt;=-5h, gate_departure&lt;BR /&gt;-301, -600, &amp;lt;-5h &amp;gt;=-10h, gate_departure&lt;BR /&gt;-600, -10000, &amp;lt;-10h, gate_departure&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Join(Time_Intervals)&lt;BR /&gt;IntervalMatch(DeltaMinutes, FR24.event)&lt;BR /&gt;Load&lt;BR /&gt;Start,&lt;BR /&gt;End,&lt;BR /&gt;[FR24.event]&lt;BR /&gt;Resident Time_Intervals;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627026#M46674</guid>
      <dc:creator>ingo_lsg</dc:creator>
      <dc:date>2019-09-23T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch negative values</title>
      <link>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627066#M46677</link>
      <description>&lt;P&gt;You need to switch the values start and end for the negative values in your inline table.&lt;/P&gt;&lt;P&gt;-5 is smaller than -1.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 17:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627066#M46677</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-23T17:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch negative values</title>
      <link>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627273#M46690</link>
      <description>&lt;P&gt;great!&amp;nbsp; That worked!&lt;/P&gt;&lt;P&gt;Sure the start dimension has to start with the smallest value.&lt;/P&gt;&lt;P&gt;Is the sorting of the intervals also important?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 07:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627273#M46690</guid>
      <dc:creator>ingo_lsg</dc:creator>
      <dc:date>2019-09-24T07:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Intervalmatch negative values</title>
      <link>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627347#M46692</link>
      <description>&lt;P&gt;I have never had issues with the sort order, so I don't think it has any effect on the result.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 09:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Intervalmatch-negative-values/m-p/1627347#M46692</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-09-24T09:59:01Z</dc:date>
    </item>
  </channel>
</rss>

