Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Date Dimension

I have a Date Dimension that pulls dates within last 60 days:

if(floor([completed_date.autoCalendar.Date])>=(today())-60, completed_date )

Only problem I have is that when this dimension is used in a graph, there is no ability to zoom-in unlike other date dimensions that I have used previously.

"Date([completed_date])"  leads to same error but not limited to 60 days, while just "completed_date" allows me to zoom in.  Any help to solve this small issue is appreciated.

2 Replies
nsetty
Partner - Creator II
Partner - Creator II

try

if(floor([completed_date.autoCalendar.Date])>=DATE((today())-60), completed_date )

Anonymous
Not applicable
Author

Expression works, but same error as previous, no ability to zoom in to graph to narrow view.  Thanks though