<?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: Dynamic LOAD in where expression using variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181057#M888374</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;variable_list:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * inline [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PO&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;1238962&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;3210028&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD PO, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Where Exists (PO)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2016 12:33:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-12T12:33:08Z</dc:date>
    <item>
      <title>Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181056#M888373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Dear all,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;see here a simple script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;variable_list:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[&lt;BR /&gt; PO&lt;BR /&gt; 1238962&lt;BR /&gt; 3210028&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;Directory&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;PO&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Result&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; Sheet1) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;PO&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;SPAN style="color: #ff0000;"&gt;1238962, 3210028&lt;/SPAN&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The excel file has two columns: PO and Results. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137118_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Loading of this excel file into QV can be done under the restriction that only filed PO must have numbers 1238962, 3210028.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The situation becomes differently when the filled PO changes dynamically depending on the size of data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Table "variable_list" contains the information which records must be picked up from table Directory (so the excel file "example.xlsx"). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I suppose you need a macro so that you can change the where statement dynamically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Anny idea how to solve this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Cornelis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181056#M888373</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181057#M888374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;variable_list:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * inline [&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PO&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;1238962&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;3210028&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD PO, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Result&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;C&gt;&lt;/C&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;Where Exists (PO)&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181057#M888374</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181058#M888375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181058#M888375</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T12:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181059#M888376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi Sunny,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Yes, this works for excel as demonstrated above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;However, it does not work for ODBC:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Variable_list:&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;inline&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt; PO&lt;BR /&gt; 1149738&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;BR /&gt; ;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;ODBC&lt;/SPAN&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;TO&lt;/SPAN&gt; QGSRO (&lt;SPAN style="color: #0000ff;"&gt;UserId&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; QGSRO, &lt;SPAN style="color: #0000ff;"&gt;Password&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; QGSRO);&lt;BR /&gt; QC:&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;BatchID&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;RegistrationDate&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;AnalysisDescription&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;AnalysisResult&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;WHERE&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;Operation&lt;/SPAN&gt; = '0020' &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BatchID&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Exists (PO)&lt;/SPAN&gt;&lt;BR /&gt; SELECT &lt;BR /&gt; BatchID,&lt;BR /&gt; Operation,&lt;BR /&gt; RegistrationDate, &lt;BR /&gt; AnalysisDescription, &lt;BR /&gt; AnalysisResult&lt;BR /&gt; FROM &lt;SPAN style="color: #800000;"&gt;"LABSQManalysis"&lt;/SPAN&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Do you know how to handle this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Cornelis.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181059#M888376</guid>
      <dc:creator />
      <dc:date>2016-09-12T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181060#M888377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Variable_list:&lt;BR /&gt;LOAD * inline&lt;BR /&gt;[&lt;BR /&gt;PO&lt;BR /&gt;&lt;A href="https://community.qlik.com/"&gt;1149738&lt;/A&gt;&lt;BR /&gt;]&lt;BR /&gt;;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO QGSRO (UserId is QGSRO, Password is QGSRO);&lt;BR /&gt;QC:&lt;BR /&gt;LOAD&amp;nbsp; BatchID, RegistrationDate, AnalysisDescription, AnalysisResult&lt;BR /&gt;WHERE&amp;nbsp; Operation = '0020' and&lt;STRONG&gt; Exists (PO, BatchID)&lt;/STRONG&gt;&lt;BR /&gt;SELECT &lt;BR /&gt;BatchID,&lt;BR /&gt;Operation,&lt;BR /&gt;RegistrationDate, &lt;BR /&gt;AnalysisDescription, &lt;BR /&gt;AnalysisResult&lt;BR /&gt;FROM "LABSQManalysis"; &lt;/P&gt;&lt;P style="font-size: 21px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Do you know how to handle this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 21px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 21px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-size: 12pt; font-family: inherit;"&gt;Cornelis.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 12:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181060#M888377</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T12:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181061#M888378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately not, but it is a good attemp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;ODBC&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;CONNECT&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; QGSRO (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;UserId&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; QGSRO, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Password&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; QGSRO);&lt;BR /&gt; QC:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BatchID&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;RegistrationDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;AnalysisDescription&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;AnalysisResult&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Operation&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; = '0020' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;PO&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BatchID&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;)&lt;BR /&gt; SELECT &lt;BR /&gt; BatchID,&lt;BR /&gt; Operation,&lt;BR /&gt; RegistrationDate, &lt;BR /&gt; AnalysisDescription, &lt;BR /&gt; AnalysisResult&lt;BR /&gt; FROM &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;"LABSQManalysis"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive "garbage error".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is taht QV script does not accept&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;SELECT &lt;BR /&gt; BatchID,&lt;BR /&gt; Operation,&lt;BR /&gt; RegistrationDate, &lt;BR /&gt; AnalysisDescription, &lt;BR /&gt; AnalysisResult&lt;BR /&gt; FROM &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;"LABSQManalysis"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... all are underscored with a red line, indicating a programming error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181061#M888378</guid>
      <dc:creator />
      <dc:date>2016-09-12T13:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181062#M888379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I feel like I'm missing something here. Why not simply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;variable_list:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[&lt;BR /&gt; PO&lt;BR /&gt; 1238962&lt;BR /&gt; 3210028&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; ;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 12pt;"&gt;Directory&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Left Join(&lt;SPAN style="font-size: 12pt;"&gt;variable_list)&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;PO&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;Result&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;C&gt;&lt;BR /&gt; (&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; Sheet1)&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181062#M888379</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2016-09-12T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181063#M888380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, I missed a semi-colon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Variable_list:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD * inline&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PO&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1149738&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;ODBC CONNECT TO QGSRO (UserId is QGSRO, Password is QGSRO);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;QC:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&amp;nbsp; BatchID, RegistrationDate, AnalysisDescription, AnalysisResult&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WHERE&amp;nbsp; Operation = '0020' and Exists (PO, BatchID)&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BatchID,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Operation,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RegistrationDate, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AnalysisDescription, &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;AnalysisResult&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM "LABSQManalysis";&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181063#M888380</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-12T13:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181064#M888381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Interesting to see that QV environment works in SQL environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your contribution!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181064#M888381</guid>
      <dc:creator />
      <dc:date>2016-09-12T13:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic LOAD in where expression using variable</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181065#M888382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Or shoman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is correct, this solution is possible.&lt;/P&gt;&lt;P&gt;However, it does not work for ODBC it contains huge amount of data and I need a where expression to filter.&lt;/P&gt;&lt;P&gt;Thank you for your contribution, this is something interesting for the near future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cornelis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 06:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-LOAD-in-where-expression-using-variable/m-p/1181065#M888382</guid>
      <dc:creator />
      <dc:date>2016-09-13T06:31:55Z</dc:date>
    </item>
  </channel>
</rss>

