BookmarkSubscribeRSS Feed
michelle05
Fluorite | Level 6

Is there any information on how to compute the difference from one visit to the next in a SAS data?

2 REPLIES 2
PaigeMiller
Diamond | Level 26

You could use the LAG() function or the DIF() function.

--
Paige Miller
michelle05
Fluorite | Level 6
Thank you! I will try it.
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 941 views
  • 0 likes
  • 2 in conversation