Hi I need help with below, i need to use proc sql to exclude rows where ('user_type' =user AND amount > 0 )
DATA HAVE DATA WANT
user_type amount user_type amount
user 500 system 200
system 200 user -300
user -300 system -300
system -300
user 1000
where not (user_type = 'user' and amount > 0);
where not (user_type = 'user' and amount > 0);
Thank you
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.
Ready to level-up your skills? Choose your own adventure.