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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
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)