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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Last 3 months data

Hi Experts,

I have 3 Years of data ,but i want to load  last 3 months data excluding current month.

here i have date field.

For ex this is April month  but i need jan, feb, march data  if go to next month it has to  load feb,march,april like that .

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can use a WHERE clause to filter the data you load. Something like this:

LOAD

     Date,

     ...some other fields...

FROM

     ...data source...

WHERE

     Date >= num(MonthStart(Today(),-3) and Date < num(MonthStart(Today())

     ;


talk is cheap, supply exceeds demand