<?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: Application not loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508166#M1136102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I don't have any straightforward ideas here except you need bigger hardware (specifically more RAM on the machine handling the QVW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any time you have a product of two tables that puts you into billions of combinations, I would look for alternative ways to structure the data model.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That or break the 150M table into chunks, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 17:48:27 GMT</pubDate>
    <dc:creator>greg-anderson</dc:creator>
    <dc:date>2013-10-29T17:48:27Z</dc:date>
    <item>
      <title>Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508161#M1136097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application which has been working until recently. I recently updated a formula in one expression on a combo chart which chokes the whole application.&lt;/P&gt;&lt;P&gt;Some background: &lt;/P&gt;&lt;P&gt;*The application disk size is about 2.5GB&lt;/P&gt;&lt;P&gt;* The largest table has about 150 million records in 3 columns of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to get a cumulative count total from the beginning of reporting history. In order to do that I use this formula:&lt;/P&gt;&lt;P&gt;=SUM({&amp;lt; [Year]=,[Month]=,date_week_key ={"$(= '&amp;lt;=' &amp;amp; max(date_week_key))"}&amp;gt;}AGGR(Count({&amp;lt; [Year]=,[Month]=,date_week_key ={"$(= '&amp;lt;=' &amp;amp; max(date_week_key))"}&amp;gt;} application_key),device_key_dist))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried everything&lt;/P&gt;&lt;P&gt;1. Made sure the right data types are being used&lt;/P&gt;&lt;P&gt;2. Made sure to use minimal set of data&lt;/P&gt;&lt;P&gt;3. Create distinct tables on load to limit any extra filtering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are running on a super strong server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas or suggestions would be much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508161#M1136097</guid>
      <dc:creator />
      <dc:date>2013-10-03T14:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508162#M1136098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First thing i can think of is... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this work perfectly well with less data-set... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the Calculation time of this object with or without this expression and with different size of data-sets. That should tell you enough to decide on to optimize the expression or build some parts of this calculation in script and then use them in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508162#M1136098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-03T15:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508163#M1136099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a formula like that, I would be tempted to put it in the script rather than front-end logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many tables do you have in your model?&amp;nbsp; Is there any complexity in there that could be contributing to a delay?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, has it worked in the past?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508163#M1136099</guid>
      <dc:creator>greg-anderson</dc:creator>
      <dc:date>2013-10-03T15:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508164#M1136100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would be very reluctant using such complex expressions on a 150mm records table. Did you consider calculating cumulative count in loading script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 15:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508164#M1136100</guid>
      <dc:creator />
      <dc:date>2013-10-03T15:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508165#M1136101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the comments. It works fine on about 50M records.&lt;/P&gt;&lt;P&gt;I calculate everything I can in the load script - but the count/sum I am trying to do is a product of one table that has 90K records and another table with 150M rows. &lt;/P&gt;&lt;P&gt;I don't see how I can simplify this anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 07:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508165#M1136101</guid>
      <dc:creator />
      <dc:date>2013-10-04T07:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Application not loading</title>
      <link>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508166#M1136102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I don't have any straightforward ideas here except you need bigger hardware (specifically more RAM on the machine handling the QVW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any time you have a product of two tables that puts you into billions of combinations, I would look for alternative ways to structure the data model.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That or break the 150M table into chunks, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 17:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-not-loading/m-p/508166#M1136102</guid>
      <dc:creator>greg-anderson</dc:creator>
      <dc:date>2013-10-29T17:48:27Z</dc:date>
    </item>
  </channel>
</rss>

