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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
satishqlik
Creator II
Creator II

ignoring seletions

Hello Experts,

I need a clarification while calculating rolling periods.

Sum({<year=,month=,quarter=,doj={'>=$(=YearStart(Today()))<=$(=Today())'}>}sales)

year=,month=,quarter=,

-Ignores the selections for year,month,quarter and It works fine

But If use Max(doj()) instead of Today()

Sum({<year=,month=,quarter=,doj={'>=$(=YearStart(Max(doj()))<=$(=Max(doj()))'}>}sales)

It won't be ignore the selections

Note:Max(doj) and Today() both are giving same result(30May2016)

I wanted to understand why it is and

If I want ignore the selections, what should I do In the same way?

Any ideas?

1 Reply
sunny_talwar

May be this:

Sum({<year=, month=, quarter=, doj={'>=$(=YearStart(Max({<year=, month=, quarter=>} doj)))<=$(=Max({<year=, month=, quarter=>} doj)))'}>} sales)