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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
swosin
Contributor
Contributor

Above function help - chart function

Hello I am fairly new to qlik, so maybe there’s a way to do this which I don’t understand. I am using the Above() function nested in RangeSum() which essentially gives me the sum of an array. However, I would the 3rd parameter, count, to be dynamic - change accounting to the number of dates available for a particular year. Can someone please help me with this? Thanks

Labels (2)
1 Reply
pedrohenriqueperna
Creator III
Creator III

Hi, you could try adding a expression in the 3rd parameter, something like:

Count(Distinct dateField)

Essentially, this would count every distinct date present in your model, but respecting the user/year selection.

You could be more specific and add a set analysis to it, if you must look for specific dates, or even ignore the filters by adding {1} within the expression