<?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: Load from QVD where values match range of values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112884#M90891</link>
    <description>&lt;P&gt;Just to add to &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; solution, which is correct, if you're reading from a QVD you may go a slightly different direction. First, load the values you want to filter on into a table, e.g.&lt;/P&gt;
&lt;P&gt;Load * INLINE [&lt;/P&gt;
&lt;P&gt;MyNumberKey&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;3&lt;/P&gt;
&lt;P&gt;5];&lt;/P&gt;
&lt;P&gt;Then,&lt;/P&gt;
&lt;P&gt;Load * from MyQVDTable where Exists(MyNumberKey);&lt;/P&gt;
&lt;P&gt;This will result in an optimized QVD load.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 13:20:55 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-09-04T13:20:55Z</dc:date>
    <item>
      <title>Load from QVD where values match range of values</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112865#M90887</link>
      <description>&lt;P&gt;I've tried searching the forums in vain&amp;nbsp; - am looking to do similar to a SQL where +&amp;nbsp; in clause , in which a query returns records with a value matching any of the values in the passed array, for example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select&amp;nbsp; &amp;nbsp;* from PrimeNumbers where MyNumber in (1,2,3,5,7,13,17 )&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have a resident table, and a variable where I've stored a comma separated range of values in order to parameterise the query.&amp;nbsp; &amp;nbsp;Is this possible?&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The 'in' keyword is not recongised.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[MyFilteredQVDTable]:&lt;/P&gt;
&lt;P&gt;Load * from MyQVDTable&amp;nbsp; where MyNumberKey&amp;nbsp; in ( $( MyNumberKeyRange)&amp;nbsp; )&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 12:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112865#M90887</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2023-09-04T12:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD where values match range of values</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112869#M90888</link>
      <description>&lt;P&gt;You could apply it in this way:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Load * from MyQVDTable&amp;nbsp; where &lt;STRONG&gt;match(&lt;/STRONG&gt;MyNumberKey, $(MyNumberKeyRange)&lt;STRONG&gt;)&lt;/STRONG&gt;;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 12:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112869#M90888</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-09-04T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD where values match range of values</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112884#M90891</link>
      <description>&lt;P&gt;Just to add to &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; solution, which is correct, if you're reading from a QVD you may go a slightly different direction. First, load the values you want to filter on into a table, e.g.&lt;/P&gt;
&lt;P&gt;Load * INLINE [&lt;/P&gt;
&lt;P&gt;MyNumberKey&lt;/P&gt;
&lt;P&gt;1&lt;/P&gt;
&lt;P&gt;2&lt;/P&gt;
&lt;P&gt;3&lt;/P&gt;
&lt;P&gt;5];&lt;/P&gt;
&lt;P&gt;Then,&lt;/P&gt;
&lt;P&gt;Load * from MyQVDTable where Exists(MyNumberKey);&lt;/P&gt;
&lt;P&gt;This will result in an optimized QVD load.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112884#M90891</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-09-04T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD where values match range of values</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112898#M90893</link>
      <description>&lt;P&gt;Thanks both&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp; -&amp;nbsp; that's really helpful.&lt;/P&gt;
&lt;P&gt;As it cuts out an additional step, I'll probably use&amp;nbsp; the Exists () as I'm creating a concatenated variable from a table anyway.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112898#M90893</guid>
      <dc:creator>110</dc:creator>
      <dc:date>2023-09-04T13:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load from QVD where values match range of values</title>
      <link>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112903#M90894</link>
      <description>&lt;P&gt;In that case, just make sure that the field name matches so you can get an optimized load (unless it's a small QVD, in which case optimization doesn't really matter).&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-from-QVD-where-values-match-range-of-values/m-p/2112903#M90894</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-09-04T13:53:27Z</dc:date>
    </item>
  </channel>
</rss>

