<?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: Help in speeding up response in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254287#M396557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I cannot use the rangeSum ? I'm accumulating the first column Open AMT &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2016 18:23:04 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2016-12-30T18:23:04Z</dc:date>
    <item>
      <title>Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254285#M396555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;Got a pivot table in which I display customer, InvoiceNumber, Invoice Date, and InvoiceDue date&lt;/P&gt;&lt;P&gt;as expression I'm calculating the amount remaining&lt;/P&gt;&lt;P&gt;and another column showing the cumulative amount which resets by at ever other customer&lt;/P&gt;&lt;P&gt;the pivot table is sorted by Due Date&lt;/P&gt;&lt;P&gt;Now for this selected salesman the report is taking around 2.5 minutes to respond and I'm sure it is because of the cumulative amount expression in which I'm using range sum with aggr and sorting, if I disable this expression the reports responds in less than a second&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise how I can speed up the response of this expression&lt;/P&gt;&lt;P&gt;Check attached QVW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 15:35:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254285#M396555</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-12-30T15:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254286#M396556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've not looked at all the variables being used and such, or tried to figure out exactly what's being accumulated and from what rows. But I'm guessing you're accumulating all previous due dates within the Is Active, Routing, Customer, and Type dimensions? I think this is a good case for an AsOf table linking every date to every previous date. Basically, generate a table that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;AsOf Due Date,Days Back,Due Date&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;19-03-2017,0,19-03-2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;19-03-2017,1,18-03-2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;19-03-2017,2,17-03-2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;19-03-2017,365,19-03-2016&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;18-03-2017,0,18-03-2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;18-03-2017,1,17-03-2017&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use AsOf Due Date as the dimension instead of Due Date. Modify expressions reporting for a single due date to add set analysis expression {&amp;lt;[Days Back]={0}&amp;gt;}. The cumulative expression needs no such set analysis, as the data model itself handles the accumulation. That should make it dramatically faster to calculate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 17:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254286#M396556</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-12-30T17:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254287#M396557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I cannot use the rangeSum ? I'm accumulating the first column Open AMT &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 18:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254287#M396557</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-12-30T18:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254288#M396558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You CAN use rangesum(), but I think that's a big part of what's slowing your chart down. So I would suggest using a different approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 18:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254288#M396558</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-12-30T18:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254289#M396559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't understand the ASOFDAte that you suggested&lt;/P&gt;&lt;P&gt;BTW several invoices may have the same due date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 19:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254289#M396559</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-12-30T19:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help in speeding up response</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254290#M396560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's some general information about this sort of table, this technique. I'm confident I wouldn't be able to explain it better than Henric does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's no problem with multiple invoices being on the same date. He's using months in his example instead of dates, but it's exactly the same idea. And he's showing multiple transactions in a month, the equivalent in your data of multiple invoices for the same date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, here you go. I made an example with Invoices and an AsOfDate. Building the AsOf calendar is simple. Just substitute your Date field in this part of the script. It doesn't need to know your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;AsOf:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN&gt; *&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfDate&lt;/SPAN&gt;&lt;SPAN&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DaysBack&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfDate&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fieldvalue&lt;/SPAN&gt;&lt;SPAN&gt;('Date',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;recno&lt;/SPAN&gt;&lt;SPAN&gt;())) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AsOfDate&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fieldvalue&lt;/SPAN&gt;&lt;SPAN&gt;('Date',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;iterno&lt;/SPAN&gt;&lt;SPAN&gt;())) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AUTOGENERATE&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fieldvaluecount&lt;/SPAN&gt;&lt;SPAN&gt;('Date')&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;WHILE&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;iterno&lt;/SPAN&gt;&lt;SPAN&gt;() &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fieldvaluecount&lt;/SPAN&gt;&lt;SPAN&gt;('Date')&lt;BR /&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; font-family: courier new,courier;"&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148024_Capture.PNG" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2016 19:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-speeding-up-response/m-p/1254290#M396560</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-12-30T19:51:49Z</dc:date>
    </item>
  </channel>
</rss>

