BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi

can we use last.variable and first.variable in merge statement.
please explain how it occur .

thanks,
regards,
Leena
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Yes you can - with a BY statement to set the required variable condition depending on what is needed.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument:

by group processing site:sas.com
deleted_user
Not applicable
Thanks a lot for your kind information.

Regards,
Leena

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1086 views
  • 0 likes
  • 2 in conversation