<?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: Interval Match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575352#M442505</link>
    <description>&lt;P&gt;You could try this script code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PlayerData:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Player, FPTS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Anthony Dixon, 6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CJ Spiller, 12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;EJ Manuel, 18&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Frank Summers, 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Fred Jackson, 7&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mike Williams, 4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Robert Woods, 8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Sammy Watkins, 3 ];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FPTSLookup:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMax, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSLookupValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AutoNumberHash256(FPTSMin, FPTSMax) as %FPTSinterval &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, FPTSMax, FPTSLookupValue&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0, 4, &amp;lt;5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5, 9, 5-10&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10, 14, 10-15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;15, 100, &amp;gt;15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;IntervalMatch:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INTERVALMATCH (FPTS)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD Distinct &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMax&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RESIDENT FPTSLookup;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LEFT JOIN (IntervalMatch)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AutoNumberHash256(FPTSMin, FPTSMax) as %FPTSinterval RESIDENT IntervalMatch;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DROP field FPTSMin, FPTSMax from IntervalMatch;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Tue, 30 Apr 2019 21:40:07 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2019-04-30T21:40:07Z</dc:date>
    <item>
      <title>Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575342#M442502</link>
      <description>&lt;P&gt;I have attached a simple qvw that has a very simple interval match&lt;/P&gt;&lt;P&gt;It works exactly how I would like it to&lt;/P&gt;&lt;P&gt;My only issue is the synthetic keys&lt;/P&gt;&lt;P&gt;I have done some research and I do see where people have posted that for interval match is ok&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, my boss is in the synthetic key is unacceptable camp that I assume was drilled home by his course instructor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one please suggest some ways to get rid of the synthetic key?&lt;/P&gt;&lt;P&gt;I do not want to get rid of the lookup table because this is part of a larger project in which users have multiple list boxes&lt;/P&gt;&lt;P&gt;they use to pick "filter" criteria which results in a straight table&amp;nbsp;chart being populated with the desired result set that&lt;/P&gt;&lt;P&gt;can be exported to excel&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone&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>Tue, 30 Apr 2019 20:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575342#M442502</guid>
      <dc:creator>Johnnyg248</dc:creator>
      <dc:date>2019-04-30T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575352#M442505</link>
      <description>&lt;P&gt;You could try this script code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PlayerData:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD * &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Player, FPTS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Anthony Dixon, 6&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;CJ Spiller, 12&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;EJ Manuel, 18&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Frank Summers, 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Fred Jackson, 7&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Mike Williams, 4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Robert Woods, 8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Sammy Watkins, 3 ];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FPTSLookup:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMax, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSLookupValue, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AutoNumberHash256(FPTSMin, FPTSMax) as %FPTSinterval &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, FPTSMax, FPTSLookupValue&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;0, 4, &amp;lt;5&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;5, 9, 5-10&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;10, 14, 10-15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;15, 100, &amp;gt;15&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;IntervalMatch:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INTERVALMATCH (FPTS)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD Distinct &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMin, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FPTSMax&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RESIDENT FPTSLookup;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LEFT JOIN (IntervalMatch)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;*, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;AutoNumberHash256(FPTSMin, FPTSMax) as %FPTSinterval RESIDENT IntervalMatch;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DROP field FPTSMin, FPTSMax from IntervalMatch;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 30 Apr 2019 21:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575352#M442505</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-04-30T21:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575363#M442506</link>
      <description>&lt;P&gt;Pl check attached.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 22:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575363#M442506</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2019-04-30T22:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Interval Match</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575495#M442509</link>
      <description>&lt;P&gt;perfect!&lt;/P&gt;&lt;P&gt;Thanks so much for the comments in the script as well!&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2019 14:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-Match/m-p/1575495#M442509</guid>
      <dc:creator>Johnnyg248</dc:creator>
      <dc:date>2019-05-01T14:03:38Z</dc:date>
    </item>
  </channel>
</rss>

