Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
hamish2
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 (1)
2 Replies
anat
Master
Master

above(sum(Sales),1,round(YearEnd(Today())-YearStart(Today())))

henrikalmen
Specialist
Specialist

You should be able to use an expression instead of an explicit number, something like:

above(sum(x), 0, GetPossibleCount(datedimensionname))