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

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Divya
Contributor
Contributor

Need data from Jan 2020 to till now

Hi,

I need a data from 2020 Jan to now (today),then I created two variables,

Let vStartofdDateRange =num(date('01-01-2020','DD.MM.YYYY));

Let  vEndofDateRange=num(today()-1);

How I will get data then 

 

2 Replies
anat
Master
Master

Sum({$<datenum= {">=$(=num(date('01-01-2020','DD.MM.YYYY)))<=$(=num(today()-1))"}>} sal)

try something like above....

chris_djih
Creator III
Creator III

What you are looking for is called YearToDate or YTD.
Please have another search for this, since there are already existing many solutions and topics for this problem.

If you found help, mark the correct answer and give some likes to ALL contributors, that tried to help.