<?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: QlikSense : Load with where condition in a variable doesn't work ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626900#M46665</link>
    <description>&lt;P&gt;Hello Bertrand,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try this in Qlik Sense the variable containing the where clause shows up in red, but it is working. The first thing you have to do, however, is create a connection to the folder containing the qvd file. So that your from statement looks like this:&lt;/P&gt;&lt;P&gt;FROM [lib://QVDfolder/File.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;$(vLoadQvdCondition);&lt;/P&gt;&lt;P&gt;The vLoadQvdCondition still shows up red, but in my case it works on loading. Could that be the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tim Wensink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2019 13:00:12 GMT</pubDate>
    <dc:creator>Tim_Wensink</dc:creator>
    <dc:date>2019-09-23T13:00:12Z</dc:date>
    <item>
      <title>QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626892#M46662</link>
      <description>&lt;P&gt;I usually do this in QlikView :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vLoadQvdCondition=' WHERE monthname(acu.Mois) &amp;lt; monthname(addMonths(now(), -1))';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from Qvd&amp;nbsp; (qvd)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;$(&lt;SPAN&gt;vLoadQvdCondition&lt;/SPAN&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I do this in QlikSense (april 2019),&amp;nbsp;$(&lt;SPAN&gt;vLoadQvdCondition&lt;/SPAN&gt;) appears in red and does nothing ???&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 12:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626892#M46662</guid>
      <dc:creator>bertrand01</dc:creator>
      <dc:date>2019-09-23T12:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626900#M46665</link>
      <description>&lt;P&gt;Hello Bertrand,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try this in Qlik Sense the variable containing the where clause shows up in red, but it is working. The first thing you have to do, however, is create a connection to the folder containing the qvd file. So that your from statement looks like this:&lt;/P&gt;&lt;P&gt;FROM [lib://QVDfolder/File.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;$(vLoadQvdCondition);&lt;/P&gt;&lt;P&gt;The vLoadQvdCondition still shows up red, but in my case it works on loading. Could that be the solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Tim Wensink&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626900#M46665</guid>
      <dc:creator>Tim_Wensink</dc:creator>
      <dc:date>2019-09-23T13:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626907#M46667</link>
      <description>&lt;P&gt;Yes I have the connection and it works fine when write the where condition.&lt;/P&gt;&lt;P&gt;Also what surprise me is that I can write any variable like $(toto) that doesn't exits and the load doesn't detect any error.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626907#M46667</guid>
      <dc:creator>bertrand01</dc:creator>
      <dc:date>2019-09-23T13:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626933#M46668</link>
      <description>&lt;P&gt;Hello Bertrand,&lt;/P&gt;&lt;P&gt;I agree that it's strange that you can use non-existing variables. If I use a variable that does exist, it does work in my case.&lt;/P&gt;&lt;P&gt;If you look at this example:&lt;/P&gt;&lt;P&gt;let vVar = 'where 1=0';&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [lib://QVD/Test.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;$(vVar);&lt;/P&gt;&lt;P&gt;if I run this, zero lines are read. If I use a non-existing variable, all lines are read. is your variable filled correctly?&lt;/P&gt;&lt;P&gt;Greetings,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tim Wensink&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 13:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1626933#M46668</guid>
      <dc:creator>Tim_Wensink</dc:creator>
      <dc:date>2019-09-23T13:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1627030#M46675</link>
      <description>&lt;P&gt;Thanks Tim for your help,&lt;/P&gt;&lt;P&gt;Yes I've tried&amp;nbsp;&lt;SPAN&gt; 'where 1=0'; and it works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;In fact my problem comes from escape characters :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;let vVar &lt;/SPAN&gt;=[ where Réseau='ABCD'];&lt;/P&gt;&lt;P&gt;doesn't work, all the data's Qvd are loaded, there's no selection as when I apply directly this condition on the Load Qvd.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 15:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1627030#M46675</guid>
      <dc:creator>bertrand01</dc:creator>
      <dc:date>2019-09-23T15:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense : Load with where condition in a variable doesn't work ?</title>
      <link>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1627315#M46691</link>
      <description>&lt;P&gt;Finally&amp;nbsp; I have found where the problem come :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;let vVar &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;'where Réseau=''ABCD''';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final&amp;nbsp;&lt;SPAN&gt;''';&lt;/SPAN&gt; also appears in red, it took me time to realise that this is correct..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2019 08:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QlikSense-Load-with-where-condition-in-a-variable-doesn-t-work/m-p/1627315#M46691</guid>
      <dc:creator>bertrand01</dc:creator>
      <dc:date>2019-09-24T08:53:17Z</dc:date>
    </item>
  </channel>
</rss>

