If the question is the month boundaries to select: where intnx('month',original_purchase_date, &end) =1 /* if only in the previous month*/ where intnx('month',original_purchase_date, &end) le 1 /* if in the previous or current month*/ flag: (intnx('month',original_purchase_date, &end) =1) as new or ( intnx('month',original_purchase_date, &end) le 1) as new
... View more