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?


 

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 509 views
  • 0 likes
  • 2 in conversation