Hi all,
I have a datasets that contains movies and how many people have watched it.
I would like to create a new variable (Position) that Position=1 if that movie is the most streamed, Position=2 if that movie is the second most streamed movie, etc...
PROC RANK is probably best here. If a movie has the same amount of views, what do you want to do with ties?
PROC RANK is probably best here. If a movie has the same amount of views, what do you want to do with ties?
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!
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.