<?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 Need Help here. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309921#M1198631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Muncho,&lt;/P&gt;&lt;P&gt;According to your script above, the following should return what you want. IntervalMatch accepts as many keys needed (the type in this case) so the range could be identified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;fact:load * inline [id, type, weigh 1047, normal, 0.72025, express, 0.31082, normal, 1.82093, express, 2.1]; weight_for_express:load * inline [start, end, weight_sort, type0.1, 0.5, 0.5, express0.6, 1, 1, express1.1, 1.5, 1.5, express1.6, 2, 5, express]; weight_for_normal:load * inline [start, end, weight_sort, type0.1, 1, 1, normal1.1, 2, 2, normal2.1, 3, 3, normal3.1, 4, 4, normal]; FactsWithWeights: // This table will be the final one.INTERVALMATCH (weigh, type) LOAD start, end, typeRESIDENT weight_for_express;LEFT JOIN LOAD *RESIDENT fact; DROP TABLE fact;DROP TABLE weight_for_express;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Check the above on how to use intervalmatch with a discrete value and a key.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2011 11:04:10 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-02T11:04:10Z</dc:date>
    <item>
      <title>Need Help here.</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309920#M1198630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;I'm totally new in QV. I posted this few days ago. But i still have this problem. So i explain it little bit different.&lt;BR /&gt;I have 3 Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;fact:&lt;BR /&gt;load * inline [&lt;BR /&gt;id, type, weigh&lt;BR /&gt;1047, normal, 0.7&lt;BR /&gt;2025, express, 0.3&lt;BR /&gt;1082, normal, 1.8&lt;BR /&gt;2093, express, 2.1&lt;BR /&gt; ......&lt;BR /&gt; ];&lt;BR /&gt;weight_for_express:&lt;BR /&gt;load * inline [&lt;BR /&gt;start, end, weight_sort&lt;BR /&gt;0.1, 0.5, 0.5&lt;BR /&gt;0.6, 1, 1&lt;BR /&gt;1.1, 1.5, 1.5&lt;BR /&gt;1.6, 2, 5&lt;BR /&gt;......&lt;BR /&gt;];&lt;BR /&gt;weight_for_normal:&lt;BR /&gt;load * inline [&lt;BR /&gt;start, end, weight_sort&lt;BR /&gt;0.1, 1, 1&lt;BR /&gt;1.1, 2, 2&lt;BR /&gt;2.1, 3, 3&lt;BR /&gt;3.1, 4, 4&lt;BR /&gt;......&lt;BR /&gt;];&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I need use intervalmatch() to match weight then use it correct type.&lt;BR /&gt;How should i do this?&lt;/P&gt;&lt;P&gt;regards&lt;BR /&gt;Muncho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 10:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309920#M1198630</guid>
      <dc:creator />
      <dc:date>2011-03-02T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Need Help here.</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309921#M1198631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Muncho,&lt;/P&gt;&lt;P&gt;According to your script above, the following should return what you want. IntervalMatch accepts as many keys needed (the type in this case) so the range could be identified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;fact:load * inline [id, type, weigh 1047, normal, 0.72025, express, 0.31082, normal, 1.82093, express, 2.1]; weight_for_express:load * inline [start, end, weight_sort, type0.1, 0.5, 0.5, express0.6, 1, 1, express1.1, 1.5, 1.5, express1.6, 2, 5, express]; weight_for_normal:load * inline [start, end, weight_sort, type0.1, 1, 1, normal1.1, 2, 2, normal2.1, 3, 3, normal3.1, 4, 4, normal]; FactsWithWeights: // This table will be the final one.INTERVALMATCH (weigh, type) LOAD start, end, typeRESIDENT weight_for_express;LEFT JOIN LOAD *RESIDENT fact; DROP TABLE fact;DROP TABLE weight_for_express;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Check the above on how to use intervalmatch with a discrete value and a key.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309921#M1198631</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-02T11:04:10Z</dc:date>
    </item>
    <item>
      <title>Need Help here.</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309922#M1198632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel&lt;/P&gt;&lt;P&gt;it looks working. Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 12:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Help-here/m-p/309922#M1198632</guid>
      <dc:creator />
      <dc:date>2011-03-02T12:49:54Z</dc:date>
    </item>
  </channel>
</rss>

