BookmarkSubscribeRSS Feed

To get the top two observation related to column.

Started ‎06-30-2014 by
Modified ‎10-05-2015 by
Views 1,038

                         DATA final;

          SET read;

          cnt1 + 1;

          by unique_id;

          if first.unique_id then cnt1 = 1;

          if cnt1 <=2;

           run;

 

Version history
Last update:
‎10-05-2015 03:46 PM
Updated by:

Catch up on SAS Innovate 2026

Dive into keynotes, announcements and breakthroughs on demand.

Explore Now →

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Labels
Article Tags