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

Announcements
AWS Degraded - You may experience Community slowness, timeouts, or trouble accessing: LATEST HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

reducing of data from one field

I have a datefield which is having lot of data

now i just want to restrict it to one year data how to do that

15 Replies
Anonymous
Not applicable
Author

i want to restrict the data to no more than one year,

currently its having two year data

vinieme12
Champion III
Champion III

LOAD *

From XXXXX

Where Year = Year(Today());

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

this is the case when you are having current year data (2017) ??

parul_mehta
Partner - Creator
Partner - Creator

Do you require from current date minus one year ?

from 20/4/2017 til 20/4/2016 ?

or only 2016 complete data ? ( Current year minus one years data  )

please provide more details?

Anonymous
Not applicable
Author

from 20/4/2017 til 20/4/2016

Peter_Cammaert
Partner - Champion III
Partner - Champion III

LOAD *

FROM File.QVD (qvd)

WHERE Date >= AddMonths(Today(), -12);

To better prepare a fitting example, please post the script code with which you import your qvd.