12 Replies Latest reply: Mar 29, 2017 8:25 AM by Sunny Talwar RSS

    GetSelectedCount shows wrong value

    Reinhold Graf

      Hi.

       

      I have data per month-end (stock-values per article)

      If I set a filter on the month-end (say 6 months) the following happens:

       

      • selected article has values in all 6 months, GetSelectedCount(Period) shows 6
      • selected article has values NOT in all 6 months (e.g. only in 2), GetSelectedCount(Period) shows 2.

       

      In both cases, the active filter, shown in the headline of Qliksense shows correctly (6 of 51 filtered periods)

       

      Am I doing something wrong or should I use a different formula ?

       

      Based on the result of GetSelectedCount(Period), other figures such as average-consumption, days-of-inventory, etc. are calculated.

       

      Regards,

      Reinhold