Hi, I have YTD data set having variables Month and Sales in SAS:
I want to create a data set where profit is greater than 3 (where Profit = 0.25*Sales) based on YTD. I have written the following code, but it is not working. I am getting back an error “ERROR: Variable Profit is not on file WORK.YTD.”, Any idea, why this might be happening?
Looking forward to your replies.