Sorry , I am just getting used here. Its message number 7.
@sreevatsan1991 wrote:
Sorry , I am just getting used here. Its message number 7.
Message 7 doesn't show me any data. The problem may be (I don't know for sure) that somehow the web site renumbers the posts and so it used to be message 7. (@ChrisHemedinger -- does the web site do this?)
Or maybe you just got it wrong.
But its time we stop this. No one knows what you want.
I am requesting that @sreevatsan1991 start over from scratch, and write as clear as possible explanation, plus clear example of both your input data, and the desired output data, and clear explanation of the method of going from input to output. You need to make sure you have written complete and clear descriptions, and provided clear and complete example input data sets and clear and complete output data sets for this example. Emphasis on clear. Emphasis on complete. Double emphasis on clear. Thank you.
Your displayed desired data appears to be the UNION of the top 3 within several distinct categories. So if an observation in in the top 3 of customer and also of orders you do not want that record duplicated. Is that correct?
I've reread this, and I don't think I understand it yet.
Getting back to the original ask from @sreevatsan1991 , here are some resources to help.
And if you're using SAS Enterprise Guide, you'll find sample programs for Top N reports (including support for grouping) in the .\Sample\Code folder within the install directory.
Chris
Hi @mkeintz Whatever you had strike, that's exactly what am looking for !
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.