<?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 Chart performance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171877#M41688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If u avoid the use of aggr function then ur performance can improve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jan 2011 14:39:40 GMT</pubDate>
    <dc:creator>maneshkhottcpl</dc:creator>
    <dc:date>2011-01-17T14:39:40Z</dc:date>
    <item>
      <title>Chart performance</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171876#M41687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have chart performance issues, while the data size (3M) in my model is not large nor is it complex (3 tables - 1 fact). I am doing some aggregation because the logic cannot be determined up front - ie backend. The complexity come in because sales figures in these chats must only be taken into account per store if the store had sales figures in both minimum and maximum periods.&lt;/P&gt;&lt;P&gt;I'm hoping to get some pointers on how to optimise these charts:&lt;/P&gt;&lt;P&gt;Here is the expression on one of my Gauge charts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;I&gt;&lt;/I&gt;&lt;I&gt;&lt;/I&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//Get Same Store Maximum Period&lt;BR /&gt;//Only mapped stores&lt;BR /&gt;sum&lt;BR /&gt;&lt;BR /&gt; (if(isnull([Master Outlet Description]&lt;BR /&gt;),0,&lt;BR /&gt;//only same store&lt;BR /&gt;&lt;BR /&gt; if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;lt; &lt;B&gt;&lt;I&gt;$(OpenPeriod)&lt;/I&gt;&lt;/B&gt;,0,if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;gt; &lt;B&gt;&lt;I&gt;$(ClosePeriod)&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;,0,&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ((aggr(NODISTINCT(sum(if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; = &lt;B&gt;&lt;I&gt;MaxPeriod&lt;/I&gt;&lt;/B&gt;,[Dispatch Quantity]*[Digistics Convertion Factor],0))), [Master Outlet Description]&lt;BR /&gt;)) = 0,0,&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ((aggr(NODISTINCT(sum(if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; = &lt;B&gt;&lt;I&gt;MaxPeriodMin1Year&lt;/I&gt;&lt;/B&gt;,[Dispatch Quantity]*[Digistics Convertion Factor],0))), [Master Outlet Description]&lt;BR /&gt;)) = 0,0,&lt;BR /&gt;//Only Max Period&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; (&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;lt;&amp;gt; &lt;B&gt;&lt;I&gt;MaxPeriod&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;,0,&lt;BR /&gt;//Only certail category&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ([Product Category]&amp;lt;&amp;gt;'Pies',0,if([Product Halaal Status]&lt;BR /&gt;&amp;lt;&amp;gt;'NON-HALAAL',0,&lt;BR /&gt;[Dispatch Quantity]&lt;BR /&gt;&lt;BR /&gt; *[Digistics Convertion Factor]&lt;BR /&gt;)))))))))&lt;BR /&gt;/&lt;BR /&gt;//Get Same Store Maximum Period&lt;BR /&gt;//Only mapped stores&lt;BR /&gt;sum&lt;BR /&gt;&lt;BR /&gt; (if(isnull([Master Outlet Description]&lt;BR /&gt;),0,&lt;BR /&gt;//only same store&lt;BR /&gt;&lt;BR /&gt; if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;lt; &lt;B&gt;&lt;I&gt;$(OpenPeriod)&lt;/I&gt;&lt;/B&gt;,0,if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;gt; &lt;B&gt;&lt;I&gt;$(ClosePeriod)&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;,0,&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ((aggr(NODISTINCT(sum(if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; = &lt;B&gt;&lt;I&gt;MaxPeriod&lt;/I&gt;&lt;/B&gt;,[Dispatch Quantity]*[Digistics Convertion Factor],0))), [Master Outlet Description]&lt;BR /&gt;)) = 0,0,&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ((aggr(NODISTINCT(sum(if(&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; = &lt;B&gt;&lt;I&gt;MaxPeriodMin1Year&lt;/I&gt;&lt;/B&gt;,[Dispatch Quantity]*[Digistics Convertion Factor],0))), [Master Outlet Description]&lt;BR /&gt;)) = 0,0,&lt;BR /&gt;//Only Max Period&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; (&lt;B&gt;&lt;I&gt;$(TransPeriod)&lt;/I&gt;&lt;/B&gt; &amp;lt;&amp;gt; &lt;B&gt;&lt;I&gt;MaxPeriodMin1Year&lt;/I&gt;&lt;/B&gt;&lt;BR /&gt;,0,&lt;BR /&gt;//Only certail category&lt;BR /&gt;if&lt;BR /&gt;&lt;BR /&gt; ([Product Category]&amp;lt;&amp;gt;'Pies',0,if([Product Halaal Status]&lt;BR /&gt;&amp;lt;&amp;gt;'NON-HALAAL',0,&lt;BR /&gt;[Dispatch Quantity]&lt;BR /&gt;&lt;BR /&gt; *[Digistics Convertion Factor]&lt;BR /&gt;)))))))))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 14:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171876#M41687</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2011-01-17T14:10:44Z</dc:date>
    </item>
    <item>
      <title>Chart performance</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171877#M41688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If u avoid the use of aggr function then ur performance can improve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 14:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171877#M41688</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-01-17T14:39:40Z</dc:date>
    </item>
    <item>
      <title>Chart performance</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171878#M41689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, but is there another way to exclude stores from sales data analysis where the store does not have sales movement in both the minumum and maximum period selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 14:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-performance/m-p/171878#M41689</guid>
      <dc:creator>jarno_loubser</dc:creator>
      <dc:date>2011-01-17T14:50:25Z</dc:date>
    </item>
  </channel>
</rss>

