<?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: Hypercube slow to display in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-slow-to-display/m-p/1574932#M10437</link>
    <description>Ok I found a solution.&lt;BR /&gt;I create 4 hypercubes with many measures inside.&lt;BR /&gt;I take one second to display the 42 KPIs now.</description>
    <pubDate>Tue, 30 Apr 2019 09:49:56 GMT</pubDate>
    <dc:creator>paulcalvet</dc:creator>
    <dc:date>2019-04-30T09:49:56Z</dc:date>
    <item>
      <title>Hypercube slow to display</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-slow-to-display/m-p/1574845#M10436</link>
      <description>&lt;P&gt;Hello,,&lt;/P&gt;&lt;P&gt;I have a mashup with a dashboard page which contains lots of hypercube : 42&lt;/P&gt;&lt;P&gt;Theses hypecubes show indicators, evolutions of these indicators, and indicators VS budget.&lt;/P&gt;&lt;P&gt;This page take 30 seconds to load, when I move to another page and I return on the dashboard page, it took 30 seconds again.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which way is the best in order to accelerate the loading time ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In my code, I have a function which create KPI with app.createcube :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;function CreateKPI(app,GetWhat,GetDef,GetCallback) {&lt;BR /&gt;app.createCube({&lt;BR /&gt;"qInitialDataFetch": [&lt;BR /&gt;{&lt;BR /&gt;"qHeight": 1,&lt;BR /&gt;"qWidth": 1&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"qDimensions": [],&lt;BR /&gt;"qMeasures": [&lt;BR /&gt;{&lt;BR /&gt;"qDef": {&lt;BR /&gt;"qDef": GetDef&lt;BR /&gt;},&lt;BR /&gt;"qLabel": GetWhat,&lt;BR /&gt;"qLibraryId": null,&lt;BR /&gt;"qSortBy": {&lt;BR /&gt;"qSortByState": 0,&lt;BR /&gt;"qSortByFrequency": 0,&lt;BR /&gt;"qSortByNumeric": 0,&lt;BR /&gt;"qSortByAscii": 1,&lt;BR /&gt;"qSortByLoadOrder": 0,&lt;BR /&gt;"qSortByExpression": 0,&lt;BR /&gt;"qExpression": {&lt;BR /&gt;"qv": " "&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"qSuppressZero": false,&lt;BR /&gt;"qSuppressMissing": false,&lt;BR /&gt;"qMode": "S",&lt;BR /&gt;"qInterColumnSortOrder": [],&lt;BR /&gt;"qStateName": "$"&lt;BR /&gt;},GetCallback)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;then I call this CreateKPI funtion 42 times :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CreateKPI(app,"GetBudgetVSObjPurchase","$(vCosts_VSOBJ_RATE_Y([Phase]={'Purchase'},[is budget]={1}))",GetBudgetVSObjPurchase);&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And this is the function which display the KPI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;function GetBudgetVSObjPurchase(reply, app){&lt;BR /&gt;var output = reply.qHyperCube.qDataPages[0].qMatrix[0][0].qText;&lt;BR /&gt;$("#GetBudgetVSObjPurchase").text(output);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-slow-to-display/m-p/1574845#M10436</guid>
      <dc:creator>paulcalvet</dc:creator>
      <dc:date>2019-04-30T07:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hypercube slow to display</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-slow-to-display/m-p/1574932#M10437</link>
      <description>Ok I found a solution.&lt;BR /&gt;I create 4 hypercubes with many measures inside.&lt;BR /&gt;I take one second to display the 42 KPIs now.</description>
      <pubDate>Tue, 30 Apr 2019 09:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Hypercube-slow-to-display/m-p/1574932#M10437</guid>
      <dc:creator>paulcalvet</dc:creator>
      <dc:date>2019-04-30T09:49:56Z</dc:date>
    </item>
  </channel>
</rss>

