For same subject If different visits recorded with same visit date .
Please explain this in more detail. Please provide a small data set for us to work with. Show the desired output from this small data set.
What do you expect as output?
A data set with a flag value of some sort that a specific visit is a duplicate for the date? What should this look like?
A count for how many subjects have at least one duplicated date?
A data set with just duplicated visit dates for subjects?
A count of the number of duplicated visit dates per subject?
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.