BookmarkSubscribeRSS Feed

To get the top two observation related to column.

Started ‎06-30-2014 by
Modified ‎10-05-2015 by
Views 687

                         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:

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Labels
Article Tags