Worked like a charm. However in my case i had to do this
TreatAs(_Date_,(TreatAs(_Number_,'<<your datetime item>>))) >= TreatAs(_Date_,((TreatAs(_Number_,Now())/86400)-360))
because i only had the date and not the time.
... View more
Hi
I have a table that contins a list of repairs recorded over the last 2 years. I am building af repair time KPI based on this list. However the KPI should only reflect the repair time for repairs completed over the last year.
Table example
Created date Repair time
1/2/2014 10
1/5/2015 1
1/6/2015 2
I want to dynamically filter out the first so that the Created date should by higher than now() - 360 days. How do i do this in SAS VA?
Many thanks
... View more