BookmarkSubscribeRSS Feed
akhilesh_joshi
Fluorite | Level 6

Hi All,

 

I have a data table. In a particular column of the table, I have values ranging from x_1 to x_16. I want to subset the data table by having values only from x_6 to x_16 in the column. Is there a way I can achieve it by using Macro?

 

Would appreciate any help in this problem.

 

Thanks and regards,

Akhilesh

1 REPLY 1

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 427 views
  • 0 likes
  • 2 in conversation