BookmarkSubscribeRSS Feed
SAM_VAS
Calcite | Level 5

Hi Folks..!!

 

Please Help me with the below data.!! How can i work on multidimensional file with rows n column.?

 

Ex: Question: If I want to know which student class top on 7th class.?


image.png
1 REPLY 1
ballardw
Super User

Have you brought the data into SAS? I suspect not.

 

If Nilu and Saksham are names it is likely that for some forms of analysis or summary you will want to have the data in SAS such that it looks like

 

Class Identity Hindi Eng Total
1 Nilu 10 12 22
2 Nilu 9 13 22
3 Nilu 8 12 20

 

For thing like: If I want to know which student class top on 7th class.? You may need to explicitly point to a row(s) of data and tell us what the rule for "top" would be. For instance would you be defining top as the Hindi score, the Eng score or the Total score?

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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