Hello, I would like to ask you help me with one excercise. I want to calculate nr of days between given Dates selection (date when some transaction happened) for each customer id applying additional conditions: 1. Check if the difference is higher than 90 days, if yes, put only 90 2. If customer continues with the transactions then start counting from beggining and flag this a s a new section 3. Check the last day for which this calculation is valid 31.12.2015 Example of the output is attached. Can you please write the SAS code which would give me desire output? Thanks a lot Jariny
... View more