Folks,
I have a dataset of transactions for people and I need to identify which ones are the latest. I have a timestamp variable which we can call time_stamp and I have an ID variable which we call ID.
Timestamp is numeric with larger values meaning its more recent to the system.
So I did to run some code that outputs the latest value for an individual when the timestamp is the largest for that id.
Could anyone supply and ideas please?
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.