<?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: best way to filter when loading a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676018#M245390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can do it with wildcard searches using wildmatch or Like functions. You also have the static searches (where Location = L1_Florida.&lt;/P&gt;&lt;P&gt;You can also use variables that can be modified through an external file/inline table and be used as parameters for the where clause via UI input box or input during script execution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jul 2014 16:50:09 GMT</pubDate>
    <dc:creator>jaimeaguilar</dc:creator>
    <dc:date>2014-07-29T16:50:09Z</dc:date>
    <item>
      <title>best way to filter when loading a table</title>
      <link>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676017#M245389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best way to filter out something when loading a table? I have a table that has all different locations for a manufacturer but I would like to load only data for specific ones. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: I have different locations but I only want to bring in data for the locations that start with L1, (i.e L1_Missouri, L1_Florida, L1_Iowa)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Location&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;L1_Missouri&lt;/P&gt;&lt;P&gt;L2_Missouri&lt;/P&gt;&lt;P&gt;L1_Florida&lt;/P&gt;&lt;P&gt;L2_Florida&lt;/P&gt;&lt;P&gt;L1_Iowa&lt;/P&gt;&lt;P&gt;L2_Iowa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676017#M245389</guid>
      <dc:creator />
      <dc:date>2014-07-29T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: best way to filter when loading a table</title>
      <link>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676018#M245390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can do it with wildcard searches using wildmatch or Like functions. You also have the static searches (where Location = L1_Florida.&lt;/P&gt;&lt;P&gt;You can also use variables that can be modified through an external file/inline table and be used as parameters for the where clause via UI input box or input during script execution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676018#M245390</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-07-29T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: best way to filter when loading a table</title>
      <link>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676019#M245391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;just use&lt;BR /&gt;where left(Location,2) = 'L1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676019#M245391</guid>
      <dc:creator>tobias_klett</dc:creator>
      <dc:date>2014-07-29T16:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: best way to filter when loading a table</title>
      <link>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676020#M245392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From any field perspective you are asking then you can filter the records from the script load&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:- From Load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Location&lt;/P&gt;&lt;P&gt;from Source&lt;/P&gt;&lt;P&gt;Where&lt;/P&gt;&lt;P&gt;Left(Location,2) = 'L1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:- From the Front end by the flag field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Location,if( Left(Location,2)='L1',1,0) as Flag;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Location&lt;/P&gt;&lt;P&gt;L1_Missouri&lt;/P&gt;&lt;P&gt;L2_Missouri&lt;/P&gt;&lt;P&gt;L1_Florida&lt;/P&gt;&lt;P&gt;L2_Florida&lt;/P&gt;&lt;P&gt;L1_Iowa&lt;/P&gt;&lt;P&gt;L2_Iowa&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on UI side write calculated dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Flag=1,Location) //And Suppress when value is null.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 17:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/best-way-to-filter-when-loading-a-table/m-p/676020#M245392</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-29T17:04:29Z</dc:date>
    </item>
  </channel>
</rss>

