<?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: Problem in loading table in Sense app in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117694#M4190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All my tables are full of measures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format of measure is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fabs(Sum({$&amp;lt;DATE={"$(=date(rangemin(monthend(today(),-3), monthend(MAX(DATE), -3))))"}, DIM&lt;SPAN style="font-size: 10pt;"&gt;={ "23","24"}&amp;gt;}VALUE)/(-1000))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Every table has about 13 columns like this....(for every month, 3 last weeks)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 10:24:13 GMT</pubDate>
    <dc:creator>jasmina_karcic</dc:creator>
    <dc:date>2018-08-08T10:24:13Z</dc:date>
    <item>
      <title>Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117688#M4184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem. I installed new version of NPrinting and Qlik Sense (June 2018).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a problem in loading table in application. It takes too much time. Because of that, NPrinting cannot generate report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;WARN: error during report generation: Object pkvJPge of Sense app 29c327dd-cf23-4f24-9559-95950477bc23 failed to render. ERROR: Method "GetLayout" timed out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;I don't understand anything, what is this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 07:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117688#M4184</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T07:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117689#M4185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;looks like calculation time for object you are trying to export using NPrinting takes ages and it times out. GetLayout method is equivalent to creating a virtual table/model containing all values for table you need to export&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Forget NPrinitng for a moment and try to help me understand:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;how long does it take to calculate this object in Qlik Sense?&lt;/LI&gt;&lt;LI&gt;how long does it take to export data from this table directly in Qlik Sense&lt;/LI&gt;&lt;LI&gt;how many rows of data does it produce?&lt;/LI&gt;&lt;LI&gt;How big is an app (no rows in fact table).&lt;/LI&gt;&lt;LI&gt;Is it possible to generate aggregated data model for NPrinitng? &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me it is optimization issue which directly relates to best practices and knowledge around performance tuning first in Qlik then in NPrinting as NPrinting performance directly relates to Qlik Sense performance you need to focus first on Qlik Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 07:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117689#M4185</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T07:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117690#M4186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech, &lt;/P&gt;&lt;P&gt;True is that application is very big. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading data is about 30 min.&lt;/P&gt;&lt;P&gt;In Qlik Sense app, loading table in one sheet is a few min.&lt;/P&gt;&lt;P&gt;Model produces about 400 million rows.&lt;/P&gt;&lt;P&gt;App is over 2 GB.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After restarting server, one report that is connected to this application is generated.&lt;/P&gt;&lt;P&gt;But other, bigger cannot.&lt;/P&gt;&lt;P&gt;Again:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;Failed generation of report c1f26feb-568d-4881-baaf-e17c5b0484e5 for user 530ea474-8d59-4e4d-9548-e4554a178281. ERROR: Object pkvJPge of Sense app 29c327dd-cf23-4f24-9559-95950477bc23 failed to render. ERROR: Method "GetLayout" timed out&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'QlikView Sans', sans-serif; font-size: 13px; background-color: #fcf8e3;"&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 08:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117690#M4186</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T08:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117691#M4187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Waht about all the other questions i asked??&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Nprinting produces static report so i dont think it produces milions of rows... right?&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I am conviced there is a way of aggregating this data for Nprinting in qlik sense on data load level and not running it out of half bilions of rows&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;This is qliksense app design issue really!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 08:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117691#M4187</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T08:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117692#M4188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Qlik Sense app only for reporting need. Upload into it only the rows and columns that are needed to generate the reports. Create only the charts that are needed for reporting and aggregate the rows where you don't need details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move all the calculations on the loading script otherwise you have to wait that the charts will be recalculated every time you apply a Qlik NPrinting filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When applicable please mark the appropriate replies as CORRECT &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2001" data-containertype="14" data-objectid="14806" data-objecttype="102" href="https://community.qlik.com/docs/DOC-14806"&gt;https://community.qlik.com/docs/DOC-14806&lt;/A&gt;&lt;SPAN&gt;. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 09:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117692#M4188</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2018-08-08T09:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117693#M4189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need all this table that I have in application...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;about 20 tables in one report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117693#M4189</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117694#M4190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All my tables are full of measures...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Format of measure is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fabs(Sum({$&amp;lt;DATE={"$(=date(rangemin(monthend(today(),-3), monthend(MAX(DATE), -3))))"}, DIM&lt;SPAN style="font-size: 10pt;"&gt;={ "23","24"}&amp;gt;}VALUE)/(-1000))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Every table has about 13 columns like this....(for every month, 3 last weeks)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117694#M4190</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117695#M4191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Jasmina.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I dont believe in this! You are saying that the fact table has roughly 400 milions of rows. If this is grain required for nprinting are you saying that your nprinting report produces the same grain (400 milion of lines?)&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;I ma sure not&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;It is aggregated!&lt;/P&gt;&lt;P class=""&gt;You need to do this aggregation as well in qlik script (not in qlik sense chart)&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117695#M4191</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T10:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117696#M4192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Lech, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables are aggregated....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One table about 40 rows (main table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other 20 tables about 15-20 rows... They are sum of values, divided on cities....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117696#M4192</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117697#M4193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Report is in 10 pages realised.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117697#M4193</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117698#M4194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am sorry, you dont need advice. You need experienced consultant to help you improve performance of your app on site.&amp;nbsp;&lt;/SPAN&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;In my opinion expressions you are using are not optimal, data model can be done better and since you are using this app only for nprinting you dont need to use rangemin functions etc.... it all should be done in script, using flags&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117698#M4194</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T10:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117699#M4195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you mean aggregation in qlik script, not in chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117699#M4195</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117700#M4196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117700#M4196</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T10:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117701#M4197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish i could help you more.&amp;nbsp;&lt;/SPAN&gt;&lt;P class=""&gt;My advice is:&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Review what dimension are you using in your tables in Qlik Sense front end tables&lt;UL&gt;&lt;LI&gt;If for example you are having dimensions like country, product, date, salesperson and you have sales_amount column on data load in qlik sense script apply aggregation like this:&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Load&lt;/SPAN&gt;&lt;P class="" style="padding-left: 30px;"&gt;Country,&amp;nbsp;&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;Product,&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;Date,&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;Salesperson&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;Sum(sales_amoun) as sales_amount&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;From&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;YourQvd.qvd (qvd)&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;Group by&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Country,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Product,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Date,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"&gt;Salesperson&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;Ideally you want this data to be aggregated in data source/ data warehouse to the required level to avoid this aggregation in load script, but if this is not possible then it will still be better than not aggregating data at all and rooling everything up from lowest grain on Qlik Sense frontend.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;In general make sure you aggregate data in your data model!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;SPAN style="-webkit-text-size-adjust: auto;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 0px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="" style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 10:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117701#M4197</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T10:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117702#M4198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lech, how can I write in data model this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fabs(Sum({$&amp;lt;DATUM={"$(=date(rangemin(MONTHEND(today()-1,-13),MONTHEND(MAX(DATUM),-12))))"},&amp;nbsp; IZVESTAJ={"MIS_BSS"}&amp;gt;}STANJE_KM)/(1000)) as BS_12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with if?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jasmina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117702#M4198</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T12:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117703#M4199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote:&lt;/P&gt;&lt;P&gt;if(I&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;ZVESTAJ='MIS_BSS' AND DATE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;DATUM)=DATE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;MONTHEND(today()-1,-13)), SUM(STANJE_KM) ) AS BS_12&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It takes much time for load....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need maybe 100 formulas like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jasmina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 12:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117703#M4199</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T12:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117704#M4200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lech, I think that is not good idea...this cannot be&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117704#M4200</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T13:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117705#M4201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well - I am not sure if you understood what i meant by saying that you need to move your expression back to script. We did not say that you have to replicate your UI expressions, but all what we said is to roll it up to the level which will still allow you to use chart expressions on qlik sense front end, but your expression will be run against a lot smaller dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i meant by aggregating data in data model was to rollup to max possible aggregation in script in order to reduce your fact table. Expressions on front-end are still necessary but they can be optimized!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of 400 millions i am sure there is a way to preaggregate data in datamodel to for example 50 milion of rows... or maybe less&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i look at your expression i see that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you are summing up Stanje_KM and returning absolute value&lt;/LI&gt;&lt;LI&gt;you are filtering date by checking min date out of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MONTHEND(today()-1,-13),&lt;/SPAN&gt; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MONTHEND(MAX(DATUM),-12)))&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;this check possibly can be done in script with if statement and could return min date for the row or flag which you can then directly use in set analysis&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You can divide STANJE_KM by 1000 in script&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;you can also use Sum(STANJE_KM) in script and group it by all required fields (all dimensions used in your NPrinitng report)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very hard to advice you on this. I would have to know how the NPrinting report needs to look like&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;all dimensions,&lt;/LI&gt;&lt;LI&gt;all filters used &lt;/LI&gt;&lt;LI&gt;all logics in template etc..&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On Qlik Sense application side we would need to see:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;load script&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;data model preview&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;all expressions from objects used for NPrinting report&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;all objects used in NPrinting report so we could see dimensions, as the data on backend should be aggregated up to them (grouped by ALL dimensions used in UI) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;data which is getting loaded into this app &lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;what is the date range?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;what is the date grain (daily/date, weekly/weekend, monthly/monthend)?&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is the data pre-aggregated in data model to the max required for nprinting level -&amp;nbsp; i say currently it is not!?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;How much history are you loading? are you only loading data required for NPrinting report?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Like i said - i cannot guide you here as i would need to understand whole application to give you right guidence. This really can be done by having the app in front of you and going through it from requiremnts, source, script till UI and NPrinting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Lech&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117705#M4201</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T13:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117706#M4202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No - this is not the way you need to do this. We cannot look at this expression by expression. We need to have full picture to be able to advice accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I said it before in one of my answers before, that typicaly this aggregation should be done in data warehouse....&lt;/P&gt;&lt;P&gt;In my last previous response i also explained that we don't want to replicate chart expressions in script, we just want to preaggregate data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really think you need someone who is experienced in Qlik development to help you with this. We will not be able to this via community since we don't have a full picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way - what is the source of data? Is is database or data warehouse? I would push a lot of transformation down to source if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117706#M4202</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2018-08-08T13:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in loading table in Sense app</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117707#M4203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look this Lech,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have turned back snapshot of server, and with it I turned back previous version of Qlik Sense and NPrinting (april 2018) and now all works fine.&lt;/P&gt;&lt;P&gt;But I am afraid, again will stop, it is just question of moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Database is source (we created many views in relational database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jasmina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 13:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Problem-in-loading-table-in-Sense-app/m-p/117707#M4203</guid>
      <dc:creator>jasmina_karcic</dc:creator>
      <dc:date>2018-08-08T13:38:51Z</dc:date>
    </item>
  </channel>
</rss>

