<?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: Move calculations from expressions to the load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Move-calculations-from-expressions-to-the-load-script/m-p/1334594#M617850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to say but it looks like you might just take each expression, such as AA below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(&lt;/P&gt;&lt;P&gt;IsNull([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]), '',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Meets', 14,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Missed', 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='NA',''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and place it into the script in a preceding load statement to your table and give it a field name, one for each expression, a la;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IF(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IsNull([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]), '',&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Meets', 14,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Missed', 0,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='NA','')))) &lt;STRONG&gt;as AA&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then, in a preceding preceding load add the new fields together, a la;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;AA + Ab + AC... as Combined&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I would start this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Apr 2017 01:12:27 GMT</pubDate>
    <dc:creator>johnca</dc:creator>
    <dc:date>2017-04-28T01:12:27Z</dc:date>
    <item>
      <title>Move calculations from expressions to the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-calculations-from-expressions-to-the-load-script/m-p/1334593#M617849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need some help to move 13 calculations from a pivot expressions to the load script and to create the 14th calculation that will add the results of previous 12. The formulas works with previous loaded fields and will then be used to create visualizations. I'm attaching some dummy data as reference. Any suggestions will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 18:10:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-calculations-from-expressions-to-the-load-script/m-p/1334593#M617849</guid>
      <dc:creator />
      <dc:date>2017-04-27T18:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Move calculations from expressions to the load script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-calculations-from-expressions-to-the-load-script/m-p/1334594#M617850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to say but it looks like you might just take each expression, such as AA below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(&lt;/P&gt;&lt;P&gt;IsNull([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]), '',&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Meets', 14,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Missed', 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='NA',''))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and place it into the script in a preceding load statement to your table and give it a field name, one for each expression, a la;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IF(&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;IsNull([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]), '',&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Meets', 14,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='Missed', 0,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp; IF([calls - Identifies Reason for Call/Clarifies and Probes (Weight 14pts) *]='NA','')))) &lt;STRONG&gt;as AA&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then, in a preceding preceding load add the new fields together, a la;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;AA + Ab + AC... as Combined&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I would start this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 01:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-calculations-from-expressions-to-the-load-script/m-p/1334594#M617850</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2017-04-28T01:12:27Z</dc:date>
    </item>
  </channel>
</rss>

