Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
please help
how can i write PeriodeDate > 'one year back' in the script ?
Load * your table where PeriodeDate = Max(Year(PeriodDate))-1;
Hi,
In Script
try like
PeriodDate > Date(AddYears(PeriodDate,-1))
Note: Carefull about Date Format.
Regards
maybe this
A: // TEST DATA
load
date(makedate(2014) + floor(rand()*(365*2))) as PeriodDate
AutoGenerate 1000;
B:
load
PeriodDate,
PeriodDate as NewPeriodDate
Resident A
where PeriodDate >= AddYears(Today(1), -1)
;
One year back of current year??
PeriodDate > AddYears(Today(),-1)
Hi,
Can you try this
PeriodDate=Date(addyears(Today(),-1),'Same as PeriodDate format')
if you want only previous year data put = symbol in where, if you want data from previous year put > in where condition.
Try this
PeriodeDate >Year(Now())-1
hey max if the PeriodeDate it shows as number how should i write it ?
What is format you have in PeriodDate?