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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Sany
Partner - Contributor
Partner - Contributor

Date filter with variable

Hello,

In the scenario, the user would select a date. The records are refreshed and reflected in Qlik if the effective dates (a column in dataset) for those records are less than and equal to the user entered dates.

Can anybody suggest a solution for this?

Thanks,

Sany

 

 

Labels (3)
1 Reply
Vegar
MVP
MVP

You can control this on expression/measure level using set analysis.

Assuming you have an measure like Sum(Value) and a date field named [Date], then you can add set analysis like this to get all previous dates.

Sum( {<Date={"<=$(=max(Date))"}>} Value)