I am trying to create a flag column with case/then statement and I don\'t want to group by the data with ESTIMATED_DELIVERY_END_DATE and LAST_DELIVERED_DATE.
Line that ca