<?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 Calculation best practices in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288448#M107272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was able to figure it out.&amp;nbsp; Thanks for the reply Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 21:08:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-19T21:08:33Z</dc:date>
    <item>
      <title>Calculation best practices</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288444#M107268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I am working on a solution that uses a pivot table.&amp;nbsp; The overall solution may only show 6 or 7 calculations on the row member.&amp;nbsp; However, to get to these 6 or 7, it will require 10-12 calculations.&amp;nbsp; Instead of embedding all of these calculations into a handful of calculations, I thought I would create the calcs separately.&amp;nbsp; I can create the calculations, but they show up on the pivot table.&amp;nbsp; I dont see an option to hide them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best practice for creating sub calculations on a pivot table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 20:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288444#M107268</guid>
      <dc:creator />
      <dc:date>2011-07-18T20:10:49Z</dc:date>
    </item>
    <item>
      <title>Calculation best practices</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288445#M107269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only straight allow for columns to be hidden, pivot tables do not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another idea you might want to consider is using variables, then instead of referring to a particular column you can reffer to a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 20:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288445#M107269</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-07-18T20:14:48Z</dc:date>
    </item>
    <item>
      <title>Calculation best practices</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288446#M107270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks for responding Dan.&amp;nbsp; Qlikview is still really new to me so some of the concepts havent completely sunk in.&amp;nbsp; By variable, do you mean specifying it in the script?&amp;nbsp;&amp;nbsp;&amp;nbsp; here is a calulation I have: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MEASURE_KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={9}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SCENARIO_DESC&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DEPT_NAME&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I keep getting error messages when I try to embed it in the script.&amp;nbsp; The error refers to not knowing what aggr is.&amp;nbsp; I am assuming this is because aggr functions are not allowed in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 21:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288446#M107270</guid>
      <dc:creator />
      <dc:date>2011-07-18T21:11:10Z</dc:date>
    </item>
    <item>
      <title>Calculation best practices</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288447#M107271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;by variables I mean, Settings&amp;gt;Variable Overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr is not a script function, only an expression (front end) function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 21:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288447#M107271</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-07-19T21:06:59Z</dc:date>
    </item>
    <item>
      <title>Calculation best practices</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288448#M107272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I was able to figure it out.&amp;nbsp; Thanks for the reply Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 21:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-best-practices/m-p/288448#M107272</guid>
      <dc:creator />
      <dc:date>2011-07-19T21:08:33Z</dc:date>
    </item>
  </channel>
</rss>

