How to import only those records where Category is Fruit and Country is United States, while importing this excel file into SAS using proc import?
Here is one way:
libname excl xlsx '/folders/myfolders/product.xlsx'; data want; set excl.sheet1 (where=(Category eq 'Fruit' and Country eq 'United States')); run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!