<?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 Working with WHERE statements in QV load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494553#M1148872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a new QV doc but uploading five separte spreadsheets...so far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created three separate expression in the doc to generate the desired results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Has &lt;/STRONG&gt;Active CDs:&lt;/STRONG&gt;﻿﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Has Active CDs]='Y'),1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Has Merged Reports:&lt;/STRONG&gt;﻿﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Bank Status]='Failed' or [Bank Status]='Merged') AND ([Merged Reports]='N'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Has Over $1,000,000.00:&lt;/STRONG&gt;﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Bank Status]='Failed' or [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;=1000000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each worked and generated the expected number of records each:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1558&lt;/LI&gt;&lt;LI&gt;7&lt;/LI&gt;&lt;LI&gt;24&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;respectively. But I wanted to concatenate these results to get a total list of 1589 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not understand that QV would apply each of these expressions as a filter, drilling down to the number of records that met all three requiremenst (four records); rather than concatenating them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I thought that maybe I could do this in the load script. So I added the following to the end of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE ([Has Active CDs]='Y') &lt;/P&gt;&lt;P&gt;OR (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Merged Reports]='N')) &lt;/P&gt;&lt;P&gt;OR (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;='1000000'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I quickly learned that, that would not work. I am loading six separate spreadsheets and the expression seems to only run against the document loaded immediately before it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this by loading the &lt;STRONG&gt;WHERE ([Has Active CDs]='Y')&lt;/STRONG&gt; portion after the spreasheet containing that column. This worked fine generating the expected 1558 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the other two expressions are a problem for me as they each compare columns in two separate spreadsheets. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the current script, complete with the where statement above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Bank Status],'Active','Failed','Merged'),[Bank Status]) AS [Bank Status]&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[GL Compliance Report (2770).xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2770);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Institution ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status as [Status-2790], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Territory as [Territory-2790] &lt;BR /&gt;FROM&lt;BR /&gt;[CDARS Merged Banks Report (2790).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2790);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Prom ID] as [Bank ID],&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PIN Rating], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Capital Category], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num([Recip Balance],0.00) as [Recip Balance]&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[SLX Query.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is [CDARS Banks w Balance]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD IF([Assigned Caller]='ZebraFish',[Assigned Caller]) as [Assigned Caller], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Inst ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Disagreed in Error (Y)]='ZebraFish',[Disagreed in Error (Y)]) as [Disagreed in Error (Y)], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [User ID] as [Last Qtr Conf], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Last Qtr Conf]='ZebraFish',[Last Qtr Conf]) as [User ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Notes='ZebraFish',Notes) as [Notes]&lt;BR /&gt;FROM&lt;BR /&gt;[CAQ.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is owssvr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Institution ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Institution Name], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Territory, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Confirmation Status],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Has Active CDs]&lt;BR /&gt;FROM&lt;BR /&gt;[CDARS Confirmation and Assurance Activity Report (2700).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2700)&lt;BR /&gt;&lt;STRONG&gt;WHERE ([Has Active CDs]='Y');&lt;/STRONG&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;Directory;&lt;BR /&gt;LOAD Losing as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Merged Reports?] as [Merged Reports], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Winning&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[CDARS_BNY Merged Banks Report (0450).xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_0450);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also bolded the spreadsheets that need to be compared in the following two statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WHERE &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;(([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Merged Reports]='N')) &lt;/LI&gt;&lt;LI&gt;The above compares columns from the 2770 report and the 0450 report&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WHERE (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;='1000000'))&lt;/LI&gt;&lt;LI&gt;The above compares columns from the 2770 report and the SLX report&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I can do this and end up loading the desired 1589 records into my QV doc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 19:19:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-20T19:19:32Z</dc:date>
    <item>
      <title>Working with WHERE statements in QV load script</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494553#M1148872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a new QV doc but uploading five separte spreadsheets...so far so good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created three separate expression in the doc to generate the desired results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Has &lt;/STRONG&gt;Active CDs:&lt;/STRONG&gt;﻿﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Has Active CDs]='Y'),1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Has Merged Reports:&lt;/STRONG&gt;﻿﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Bank Status]='Failed' or [Bank Status]='Merged') AND ([Merged Reports]='N'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Has Over $1,000,000.00:&lt;/STRONG&gt;﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=IF(([Bank Status]='Failed' or [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;=1000000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each worked and generated the expected number of records each:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;1558&lt;/LI&gt;&lt;LI&gt;7&lt;/LI&gt;&lt;LI&gt;24&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;respectively. But I wanted to concatenate these results to get a total list of 1589 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not understand that QV would apply each of these expressions as a filter, drilling down to the number of records that met all three requiremenst (four records); rather than concatenating them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I thought that maybe I could do this in the load script. So I added the following to the end of the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE ([Has Active CDs]='Y') &lt;/P&gt;&lt;P&gt;OR (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Merged Reports]='N')) &lt;/P&gt;&lt;P&gt;OR (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;='1000000'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I quickly learned that, that would not work. I am loading six separate spreadsheets and the expression seems to only run against the document loaded immediately before it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this by loading the &lt;STRONG&gt;WHERE ([Has Active CDs]='Y')&lt;/STRONG&gt; portion after the spreasheet containing that column. This worked fine generating the expected 1558 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the other two expressions are a problem for me as they each compare columns in two separate spreadsheets. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, how do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the current script, complete with the where statement above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(WildMatch([Bank Status],'Active','Failed','Merged'),[Bank Status]) AS [Bank Status]&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[GL Compliance Report (2770).xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2770);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Institution ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status as [Status-2790], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Territory as [Territory-2790] &lt;BR /&gt;FROM&lt;BR /&gt;[CDARS Merged Banks Report (2790).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2790);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Prom ID] as [Bank ID],&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PIN Rating], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Capital Category], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num([Recip Balance],0.00) as [Recip Balance]&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[SLX Query.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is [CDARS Banks w Balance]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD IF([Assigned Caller]='ZebraFish',[Assigned Caller]) as [Assigned Caller], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Inst ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Disagreed in Error (Y)]='ZebraFish',[Disagreed in Error (Y)]) as [Disagreed in Error (Y)], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [User ID] as [Last Qtr Conf], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Last Qtr Conf]='ZebraFish',[Last Qtr Conf]) as [User ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Notes='ZebraFish',Notes) as [Notes]&lt;BR /&gt;FROM&lt;BR /&gt;[CAQ.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is owssvr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;BR /&gt;LOAD [Institution ID] as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Institution Name], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Territory, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Confirmation Status],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Has Active CDs]&lt;BR /&gt;FROM&lt;BR /&gt;[CDARS Confirmation and Assurance Activity Report (2700).xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_2700)&lt;BR /&gt;&lt;STRONG&gt;WHERE ([Has Active CDs]='Y');&lt;/STRONG&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;Directory;&lt;BR /&gt;LOAD Losing as [Bank ID], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Merged Reports?] as [Merged Reports], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Winning&lt;BR /&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;[CDARS_BNY Merged Banks Report (0450).xlsx]&lt;/STRONG&gt;&lt;BR /&gt;(ooxml, embedded labels, table is REPORT_0450);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;______________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also bolded the spreadsheets that need to be compared in the following two statements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WHERE &lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;(([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Merged Reports]='N')) &lt;/LI&gt;&lt;LI&gt;The above compares columns from the 2770 report and the 0450 report&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WHERE (([Bank Status]='Failed' OR [Bank Status]='Merged') AND ([Recip Balance]&amp;gt;='1000000'))&lt;/LI&gt;&lt;LI&gt;The above compares columns from the 2770 report and the SLX report&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any thoughts on how I can do this and end up loading the desired 1589 records into my QV doc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 19:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494553#M1148872</guid>
      <dc:creator />
      <dc:date>2013-06-20T19:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Working with WHERE statements in QV load script</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494554#M1148873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to do this in the script you have to create a table with all the fields you want to use in the where clause. A where clause is added to a load block and a load can only process one table. You'll have to use join and/or concatenate to create a table that contains all the fields you want the where clause to work on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 06:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494554#M1148873</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-21T06:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working with WHERE statements in QV load script</title>
      <link>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494555#M1148874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a left-join to merge everything into one table and them applied my WHERE statement.&lt;/P&gt;&lt;P&gt;Looks like I am good to go.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2013 17:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Working-with-WHERE-statements-in-QV-load-script/m-p/494555#M1148874</guid>
      <dc:creator />
      <dc:date>2013-06-21T17:28:45Z</dc:date>
    </item>
  </channel>
</rss>

