Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
i want to restrict the data to no more than one year,
currently its having two year data
LOAD *
From XXXXX
Where Year = Year(Today());
this is the case when you are having current year data (2017) ??
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?
from 20/4/2017 til 20/4/2016
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.