Applying Carryover

Reply
Frequent Contributor
Frequent Contributor
Posts: 83

Applying Carryover

Hi there

I would like to apply a carryover of 12% to one of the column values. I have done this in Excel. I think this can be done by using Retain statement.

But probably I am not writing the codes in the correct way.

A test data with the expected result from excel is attached.

Thanks

Mit

Attachment
Frequent Contributor
Frequent Contributor
Posts: 83

Re: Applying Carryover

Hi there

I have already solve this problem. So there is no need to reply to this post

Thanks

Mit

SAS Employee
Posts: 224

Re: Applying Carryover

So glad that you were able to solve your problem.  If you have time, would you mind posting the answer here?  It may help someone else.

Ask a Question
Discussion stats
  • 2 replies
  • 193 views
  • 0 likes
  • 2 in conversation