<?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: Filter in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759347#M590621</link>
    <description>&lt;P&gt;use &lt;A href="https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Exists.htm" target="_self"&gt;exists&lt;/A&gt; function.&lt;/P&gt;&lt;P&gt;step 1 load your inclusion id&lt;/P&gt;&lt;P&gt;step 2 load main table with exists function.&lt;/P&gt;&lt;P&gt;step 3 drop table from step1&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ValidIDs:
LOAD
    ValidIDs
FROM [lib://Downloads/Custom.xlsx]
(ooxml, embedded labels, table is MyValid);

MainData:
LOAD
    ID,
    Column1,
    Column2
FROM [lib://Downloads/Custom.xlsx]
(ooxml, embedded labels, table is Main)
where exists(ValidIDs,ID);

drop table ValidIDs;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 14:13:37 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2020-11-06T14:13:37Z</dc:date>
    <item>
      <title>Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759330#M590620</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two sources of data, one loading millions of lines and another one with only the line I am looking for.&lt;/P&gt;&lt;P&gt;Both have a filed of part number which I am using to associate the two tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make sure I see only the part numbers relevant to me, I created another column in my excel table with all cells containing the same value.&lt;/P&gt;&lt;P&gt;In analysts, I created a filter on this filed. When I select the only value it contains, the view goes from million part numbers to the list I required. The challenge is that the filter will reset every time I open the app.&lt;/P&gt;&lt;P&gt;How can I make this filter permanent or include it in the script?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 13:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759330#M590620</guid>
      <dc:creator>igalbald</dc:creator>
      <dc:date>2020-11-06T13:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759347#M590621</link>
      <description>&lt;P&gt;use &lt;A href="https://help.qlik.com/en-US/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Exists.htm" target="_self"&gt;exists&lt;/A&gt; function.&lt;/P&gt;&lt;P&gt;step 1 load your inclusion id&lt;/P&gt;&lt;P&gt;step 2 load main table with exists function.&lt;/P&gt;&lt;P&gt;step 3 drop table from step1&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ValidIDs:
LOAD
    ValidIDs
FROM [lib://Downloads/Custom.xlsx]
(ooxml, embedded labels, table is MyValid);

MainData:
LOAD
    ID,
    Column1,
    Column2
FROM [lib://Downloads/Custom.xlsx]
(ooxml, embedded labels, table is Main)
where exists(ValidIDs,ID);

drop table ValidIDs;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 14:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759347#M590621</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-11-06T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759350#M590622</link>
      <description>&lt;P&gt;example from help site&lt;/P&gt;&lt;P&gt;site&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD * inline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ Employee|ID|Salary &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bill|001|20000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;John|002|30000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Steve|003|35000 ] (delimiter is '|'); &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Citizens: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load * inline &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Employee|Address &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bill|New York Mary|London &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Steve|Chicago Lucy|Madrid &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Lucy|Paris John|Miami ] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(delimiter is '|') where Exists (Employee); &amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Drop Tables Employees;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 14:23:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759350#M590622</guid>
      <dc:creator>bhavtan</dc:creator>
      <dc:date>2020-11-06T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759360#M590623</link>
      <description>&lt;P&gt;The two tables I have include different fields that I need to keep, so I cannot drop the table.&lt;/P&gt;&lt;P&gt;The excel table I created includes a filed that includes a single value that I use to filer in the analysis tab.&lt;/P&gt;&lt;P&gt;I am looking to do this filter in the load script section.&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 15:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759360#M590623</guid>
      <dc:creator>igalbald</dc:creator>
      <dc:date>2020-11-06T15:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759368#M590624</link>
      <description>&lt;P&gt;not 100% clear what you mean. but if you want to retain the table just dont drop the table.&lt;/P&gt;&lt;P&gt;excludes still works. (even in the sample script shared above.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 15:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1759368#M590624</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-11-06T15:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1761875#M590625</link>
      <description>&lt;P&gt;I found a way to perform a permanent filter in the GUI.&amp;nbsp;&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 10:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-in-load-script/m-p/1761875#M590625</guid>
      <dc:creator>igalbald</dc:creator>
      <dc:date>2020-11-16T10:12:08Z</dc:date>
    </item>
  </channel>
</rss>

