2 Replies Latest reply: Nov 23, 2017 6:13 AM by Ilya Komlyakov RSS

    getRowCount() method returns wrong result

    Ilya Komlyakov

      Hello!

       

      I have an extension that should react different in case of lack of data. So for example i have table with one dimension and one measure.

      I ticked the condition NullSuppression for dimension, so I do not want to get null values of dimension.

      After that I implement c couple filters to get the situation when I haven't got any data.

      BUT when i call method this.backendApi.getRowCount(), it returns me 1 row, and the method this.backendApi.getDataRow(0) returns me the following:


      Getrowcount.JPG

      All the values are null. Why do QS returns me row count = 1?

      Qlik Sense November 2017