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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

All data upto selected date

Dear specialists,

I have a master calender which works like it should when I want to make a selection.

But i want my Qlikview charts to show all the information up to the selected date.

So if I select 1-12-2009 it should also get all data before that date

So what I want to use the calander to select the maximal date in the selection.

Labels (1)
1 Reply
Not applicable
Author

Do you select the Month, Day, and Year separately? If so maybe you need this set analysis:

{$<Month={"<=$(=only(Month))"}, Day={<=$(=only(Day))}, Year={<=$(=only(Year))} >}

If you select the date with a calendar object maybe you only need:

{$< Date={"<=$(=(date(vSelectedDate, 'YYYY-MM-DD 00:00:00')))"}>}

The YYYY-MM-DD format can be whatever you need. The vSelectedDate is a variable holding the calendar objects selection.