<?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: Removing repetative calculations from qlik script. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1558591#M441091</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Can you please suggest on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2019 17:35:20 GMT</pubDate>
    <dc:creator>kishorj1982</dc:creator>
    <dc:date>2019-03-19T17:35:20Z</dc:date>
    <item>
      <title>Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550434#M440227</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some different filter conditions in my where condition but my original table size is huge due to that it is not feasible to load the same table again and again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please suggest on this, I have attached the script for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kishor.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 11:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550434#M440227</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2019-02-28T11:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550697#M440243</link>
      <description>Hi, I think it will be faster reading only one time from qvd and doing the checks to fill [Engineering Category Status] and [Engineering Category] in each record.</description>
      <pubDate>Thu, 28 Feb 2019 18:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550697#M440243</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-02-28T18:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550851#M440256</link>
      <description>&lt;P&gt;Can you please share an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2019 03:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1550851#M440256</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2019-03-01T03:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1553858#M440493</link>
      <description>Hi, it will be moving the 'where' conditions of each load to an if, like:&lt;BR /&gt;// Preceding LOAD to assign values based on 'KeyField' combination; just an example better if mapsubstring is used&lt;BR /&gt;// &lt;A href="https://help.qlik.com/es-ES/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/MappingFunctions/MapSubstring.htm" target="_blank"&gt;https://help.qlik.com/es-ES/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/MappingFunctions/MapSubstring.htm&lt;/A&gt;&lt;BR /&gt;LOAD *&lt;BR /&gt;If(Subfield(KeyField, '-', 1)='UP', 'Unprocessed') as [Engineering Category Status],&lt;BR /&gt;If(Subfield(KeyField, '-', 2)='EOE', 'Electrical Order Engineering') as [Engineering Category]&lt;BR /&gt;;&lt;BR /&gt;LOAD,&lt;BR /&gt;If( // UP-EOE: Check for Uprocessed - Electrical Order Engineering&lt;BR /&gt;EEPR = ' '&lt;BR /&gt;AND EEED = ' '&lt;BR /&gt;AND EDFR = ' '&lt;BR /&gt;AND (ANT01 = 'SPECIAL' OR ANT02 = 'SPECIAL' OR ANT03 = 'SPECIAL' OR ANT04 = 'SPECIAL')&lt;BR /&gt;AND ApplyMap ('Electrical Order Engineering Material Exclude Map', ApplyMap ('Engineering Category Plant', [Sales Document Item Key], Null ()) &amp;amp; ' ' &amp;amp; ApplyMap ('Engineering Category Material', [Sales Document Item Key], Null ()), Null ()) = 'N', 'UP-EOE',&lt;BR /&gt;// UP-EPE: Check for Unprocessed - Electrical Production Engineering&lt;BR /&gt;(EEED = 'X' OR (ANT01 &amp;lt;&amp;gt; 'SPECIAL' AND ANT02 &amp;lt;&amp;gt; 'SPECIAL' AND ANT03 &amp;lt;&amp;gt; 'SPECIAL' AND ANT04 &amp;lt;&amp;gt; 'SPECIAL'))&lt;BR /&gt;AND EEUN = 'X'&lt;BR /&gt;AND EEFR = ' '&lt;BR /&gt;AND EDFR = ' '&lt;BR /&gt;AND ApplyMap ('Electrical Production Engineering Material Exclude Map', ApplyMap ('Engineering Category Plant', [Sales Document Item Key], Null ()) &amp;amp; ' ' &amp;amp; ApplyMap ('Engineering Category Material', [Sales Document Item Key], Null ()), Null ()) = 'N',&lt;BR /&gt;// Next case...&lt;BR /&gt;)) as KeyField</description>
      <pubDate>Thu, 07 Mar 2019 20:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1553858#M440493</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-03-07T20:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1553956#M440502</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;But this does not work here properly and my results are not matching.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 05:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1553956#M440502</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2019-03-08T05:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Removing repetative calculations from qlik script.</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1558591#M441091</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;Can you please suggest on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2019 17:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-repetative-calculations-from-qlik-script/m-p/1558591#M441091</guid>
      <dc:creator>kishorj1982</dc:creator>
      <dc:date>2019-03-19T17:35:20Z</dc:date>
    </item>
  </channel>
</rss>

