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: 
Pomna
Creator III
Creator III

Limiting Date Dimension

My date dimension is  from 1/1/ 1970 but I would like my report date to start from  1/1/2000  to current date in set expression.

4 Replies
JuanGerardo
Partner - Specialist
Partner - Specialist

Sum({<MyDate = {">=1/1/2000"}>} Sales)

JG

Pomna
Creator III
Creator III
Author

Thank you but this does not solve my problem. I do not want to use any aggregate function and I do not want any future date. It has to be from 1/1/2000  to current date

VKadipakam
Contributor II
Contributor II

if(date(MyDate) >= '1/1/2000 ' AND date(MyDate) < (today()+ 1),MyDate)

I guess this will work 

VK

JuanGerardo
Partner - Specialist
Partner - Specialist

I forgot to include the today condition, it should work with this expression:

Sum({<MyDate = {">=1/1/2000<=$(=Today())"}>} Sales)

JG