Hi Experts ,
I have a dataset below , I need to find the 96 hr dates i to a different column Called "Date 96" I was using a filter in the Timepont variable like timepoint="96hr".
But now my requirement is i need to take the last date if the subject is reacched 96hr timepoint and if the subject is not reached 96 hr time point (eg:Subject 102) then i dont need show that date.i Date 96 column
Subject Timepoint Date
100 24hr 12/10/2020
100 36hr 12/11/2020
100 96hr 12/12/2020
101 24hr 12/9/2021
101 36hr 30/10/2021
101 96hr 15/10/2021
101 Rate Change 25/12/2021
102 24hr 12/9/2021
102 36hr 30/10/2021
102 Rate Change 25/12/2021
So the new column should looks like below
Subject Timepoint Date 96hrdate
100 24hr 12/10/2020
100 36hr 12/11/2020
100 96hr 12/12/2020 12/12/2020
101 24hr 12/9/2021
101 36hr 30/10/2021
101 96hr 15/10/2021
101 Rate Change 25/12/2021 25/12/2021
102 24hr 12/9/2021
102 36hr 30/10/2021
102 Rate Change 25/12/2021
Please post data in usable form.
What i would do:
Please post data in usable form.
What i would do:
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.