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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
ecabanas
Creator II
Creator II

How to Sum excluding dates?

Hi,

I have a calendar with a DATEFINANCIAL as a key, with this, I have a calendar slider, etc, but I want to do a calculation excluding the dates, for example:

I selected to see the year 2012 and December, and the sum of units = 100, but I want to knot, how many units has been sold till today=1000

I did this function but it does not works :  Sum({<DATEFINANCIAL= >}  UNITS_INVENT )

Thank's guys!!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You need to clear the fields you or your user made the selections in, I am assuming Year and Month:

Sum({<YEAR=, MONTH= >}  UNITS_INVENT )

View solution in original post

3 Replies
swuehl
MVP
MVP

You need to clear the fields you or your user made the selections in, I am assuming Year and Month:

Sum({<YEAR=, MONTH= >}  UNITS_INVENT )

er_mohit
Master II
Master II

try this

sum({< DATEFINANCIAL = e() >} UNITS_INVENT)

ecabanas
Creator II
Creator II
Author

thank's!!!! it works!!!!!

Eduard