Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Getting NaN in Qlik Sense While Selecting More data like 48 Rows

Hi,

Below is my Javascript Code to get the data from the table with Hyper-cube. When I am selecting 24 Rows then I am getting data and Visualization in correct way. But If I am selecting 48 Rows then I am getting NaN in Some of the Object.
.JS File Code
hypercube.qDataPages[0].qMatrix.forEach(function (qData, index) {

   data.push({

   // Dimensions

   'A': Number(qData[0].qText),

   'B': Number(qData[1].qText),

   'C': Number(qData[2].qText),

   // Measures

   'D': Number(qData[3].qText),

   'E': Number(qData[4].qText),

   'F': Number(qData[5].qText),

   'G': qData[6].qText,

   'H': qData[7].qText,

   'I': qData[8].qText,

   'J': qData[9].qText

})

}


properties.js

dimensions: {

   uses: "dimensions",

   min: 1,

   max: 3

  },

   measures: {

   uses: "measures",

   min: 7,

   max: 7

  },

initialProperties.js


define([], function () {

   "use strict";

   return {

   qHyperCubeDef: {

   qDimensions: [],

   qMeasures: [],

   qInitialDataFetch: [{

   qWidth: 10,

   qHeight: 1000

  }]

  }

  };

});

Please do the needful to resolve this issue.

Thanks,

Premal kapadia


0 Replies