I am trying to create a subset of a data set. I want to select the dates outside of my start and end dates for analysis, then exclude such dates. Not sure why this is not working, seems easy. I think it is number format issues?
I have StartDate and EndDate as dates from CalendarBox()
:Date is a column with numeric dates in format m/d/y.
I have tried this to no success:
BegTime = dt<< Subset(All rows, Selected columns only( 0 ) );
BegTime << Select Where(:Date < Informat(StartDate) |:Date > Informat(EndDate))<<Exclude;));
To check the columns I tried this (below) but did not get a result. Just ".
BegTime <<new column("blah", numeric, formula(
num(:Date) - num(StartDate);