When You use by group possessing and u want to do some calculation on every by group in that case u need to initialize the first.variable value 0 so that it will do the calculation for each by group separately
thanks
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!