BookmarkSubscribeRSS Feed
swayto
Fluorite | Level 6

Obs League Division Team Div123456

NationalWestAtlantaNW
AmericanEastBaltimoreAE
AmericanEastBostonAE
AmericanWestCaliforniaAW
AmericanWestChicagoAW
NationalEastChicagoNE

 

How do i get the value variable Div for observation that has variable Team=Boston?

1 REPLY 1
Reeza
Super User

https://video.sas.com/detail/video/4573016761001/filtering-a-sas-table-in-a-data-step?autoStart=true...


@swayto wrote:

Obs League Division Team Div123456

National West Atlanta NW
American East Baltimore AE
American East Boston AE
American West California AW
American West Chicago AW
National East Chicago NE

 

How do i get the value variable Div for observation that has variable Team=Boston?


 

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 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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