BookmarkSubscribeRSS Feed
Macy
Calcite | Level 5

Hi,

 

Does anyone know how to create analtical base table in SAS, which code shall i write in programmer ? 

how can i put transforming data, combined and merge data into ABT ? 

4 REPLIES 4
Reeza
Super User

Can you explain in more detail? I'm not familiar with the terminology you're using. 

Macy
Calcite | Level 5

Hi, 

Never mind, this problem i have solved, but i have another one that is i tried to transform data by using LOG(X+1) to avoid any 0 value, but all of the cells are blanks, i do not know where is the problem, could you pls have a look ? 


屏幕快照 2016-11-27 下午11.09.49.png
Reeza
Super User

Sorry, I'm not familiar with SAS Studio tasks. Perhaps examining the code may help. 

 

Good Luck.

ballardw
Super User

If you want to create a new varable based on NUM_credits you might want to use log(Num_credits +1) not X. I suspect you do not have a variable X before the transform. Your output shows X with missing values because you references a variable X, so SAS needed to create the variable with missing values. And since X was missing then the result was missing.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 4 replies
  • 2781 views
  • 0 likes
  • 3 in conversation