<?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 Performance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-Performance/m-p/1261791#M397903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be an interesting debate, I have just took over a QV dashboard and from looking at the calcs it has raised this question in my head.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the &lt;SPAN style="color: #000000;"&gt;calcs, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;sum(if([Year]='2016'and [Week]='1',[Age]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;I would have written as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;Sum({$&amp;lt;Year={$(=2016)},Week={$(=1)}&amp;gt;}Age)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;Which version of the calc would you say is the best for the overall performance of the dashboard? and to expand my knowledge why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2016 10:27:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-01T10:27:44Z</dc:date>
    <item>
      <title>Calculation Performance</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Performance/m-p/1261791#M397903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be an interesting debate, I have just took over a QV dashboard and from looking at the calcs it has raised this question in my head.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the &lt;SPAN style="color: #000000;"&gt;calcs, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;sum(if([Year]='2016'and [Week]='1',[Age]&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;))&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;I would have written as &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;Sum({$&amp;lt;Year={$(=2016)},Week={$(=1)}&amp;gt;}Age)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; text-indent: 0px; background-color: #f5f3e5;"&gt;Which version of the calc would you say is the best for the overall performance of the dashboard? and to expand my knowledge why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Performance/m-p/1261791#M397903</guid>
      <dc:creator />
      <dc:date>2016-12-01T10:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Performance</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Performance/m-p/1261792#M397904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would use set analysis, but with slight changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {2016}, Week = {1}&amp;gt;} Age)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This because set analysis is evaluated once per chart and should lead to some better performance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2016 10:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Performance/m-p/1261792#M397904</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-01T10:29:43Z</dc:date>
    </item>
  </channel>
</rss>

