Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Range Count issue

Hi

I'm trying to range item with a conditional count in QlikSense.

I've made in the load script a WeigerFlag as condition

problem range.png

So in the first column is the range part I'm trying. The second column is the normal count. It seems it just jumped a week lower instead of adding it to the previous amount.

What do I do wrong

Regards,

Liselotte

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You didn't add any parameters to the Above function so it only gets the value of the previous row. If you want a running total you need something like rangesum(above(count(...xxx...),0,rowno()))


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You didn't add any parameters to the Above function so it only gets the value of the previous row. If you want a running total you need something like rangesum(above(count(...xxx...),0,rowno()))


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

I've tried but it still doesn't work 😞

problem range2.png

The calculation is

rangesum(above (Count(Distinct{$ < WeigerFlag= {'1'} >} [WerkopdrachtID])), 0, RowNo())

Is it due to the count with condition?

Regards,

Liselotte