<?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 Set analysis in load script? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672959#M1055306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to load a subset of a field in my load script, but I'm not sure how to do it.&amp;nbsp; I would like to load all lines from "Field A" that do not contain the phrase "account adjustment" (*account adjustment*) and we can just name this new field "Field B."&amp;nbsp; How would I go about doing this?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 17:49:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-21T17:49:00Z</dc:date>
    <item>
      <title>Set analysis in load script?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672959#M1055306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to load a subset of a field in my load script, but I'm not sure how to do it.&amp;nbsp; I would like to load all lines from "Field A" that do not contain the phrase "account adjustment" (*account adjustment*) and we can just name this new field "Field B."&amp;nbsp; How would I go about doing this?&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 17:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672959#M1055306</guid>
      <dc:creator />
      <dc:date>2014-10-21T17:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in load script?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672960#M1055307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Set Analysis cannot be used in Load Script, it is a front-end-only feature. To do what you describe, your script may look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TableName:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Field A] as [Field B],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Any other fields&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From SourceTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where not wildmatch([Field A], 'account adjustment');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The (not) wildmatch will search for string coincidences, and because it has a &lt;STRONG&gt;not&lt;/STRONG&gt; before it will discard the coincidences and load everything else.&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, 21 Oct 2014 18:14:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672960#M1055307</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-10-21T18:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in load script?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672961#M1055308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You don't need Set Analysis (nor you could use it). While you script the Load statement use the where clause to restrict the table to have records satisfying the given condition. For renaming, you could do it directly in load script as &lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; FieldA as FieldB&lt;/P&gt;&lt;P&gt;From &amp;lt;Source&amp;gt;&lt;/P&gt;&lt;P&gt;Where &amp;lt;Condition&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672961#M1055308</guid>
      <dc:creator />
      <dc:date>2014-10-21T18:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis in load script?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672962#M1055309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;where not wildmatch([Field A], '*account adjustment*')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 18:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-in-load-script/m-p/672962#M1055309</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-21T18:21:54Z</dc:date>
    </item>
  </channel>
</rss>

