Hi,
I've been struggling to figure out a way to extract the top 20-30 observations, group wise, from a SAS dataset I'm working on.
Basically, I have 5 Indian cities in my dataset (Variable = City) and Net sales against each customer name. I want to pull out the top 20 - 30 observations based on the largest net sales values for each city automatically and subsequently create a separate dataset of those observations. Can someone help me here please? 🙂
... View more