0 Replies Latest reply: Nov 8, 2016 5:42 AM by Yasuhiro Takenaka RSS

    How to narrow down data from display data more than 10,000 rows?

    Yasuhiro Takenaka

      I created a table with the Qlik Sense extension and displayed more than 10,000 rows of data.
      In this table, I want to narrow down what to display according to the selected data.
      In order to refine the data, we attempted to acquire data using Field API's getData method.
      However, it is impossible to acquire more than 10,000 rows of data.
      Is not there a good way?

       

      success:
      var option ={rows:10000,frequencyMode:"V"}
      var dataList = app.field("DATE").getData(option);

      dataList.rows.forEach( function ( row ) {

          if(date <= row.qText && row.qText <= endDate){

      self.selectValues( 0, [row.qElemNumber], true );

          }

      });

       

      failed:
      var option ={rows:20000,frequencyMode:"V"}
      var dataList = app.field("DATE").getData(option);

      dataList.rows.forEach( function ( row ) {

          if(date <= row.qText && row.qText <= endDate){

      self.selectValues( 0, [row.qElemNumber], true );

          }

      });

       

      SelectTable.PNG