Did you miss the Ask the Expert session on Filtering Every Which Way in SAS Enterprise Guide? Not to worry, you can catch it on-demand at your leisure.
By the end of this hour, you will know the secrets to exploiting key data management, integration and filtering capabilities of SAS Enterprise Guide. We’ll cover:
Here are some questions and answers that were submitted during this webinar:
Click on Options in the Query Builder:
Then click on one or both of the ‘Limit number of’ options at the bottom of the results window:
Touch on the right margin in the data viewer, or right mouse click on the data node in the process flow -> properties -> advanced
https://blogs.sas.com/content/sasdummy/2012/03/15/how-many-obs-sysnobs
Using WHERE in the data viewer, is there any way to filter for missing values?
Yes, for character data, specify a blank ' '. for numeric data, use . in the expression. If specifying . in the expression causes an error message, place quotes around the period. Also, WHERE accepts IS MISSING. See highlighted areas below:
Data viewer without WHERE specified (all observations) – note the first row has missing data in the last variable, date:
Data viewer with WHERE [variable name] IS MISSING specified:
Data viewer after WHERE DATE IS MISSING is applied:
Use Enterprise Guide’s query builder, then review its generated SQL. The Query Builder always generates SQL.
The List Data task has several options in its Rows to List pull-down:
Yes – the log, preview code button on each task, and code tab of your outputs all reveal the generated code. More details: https://support.sas.com/resources/papers/proceedings14/SAS331-2014.pdf
Enabling logging: http://support.sas.com/kb/55/414.html
No – SAS is only bounded by the hardware where it’s installed and configured.
Yes - https://blogs.sas.com/content/sasdummy/2012/09/18/having-clause-fun-with-sas-enterprise-guide
Recommended Resources
Course: SAS Enterprise Guide 1: Querying and Reporting
Course: Creating Reports and Graphs with SAS Enterprise Guide
Book: The Little SAS® Enterprise Guide® Book
Want more tips? Be sure to subscribe to the Ask the Expert Community Library to receive follow up Q/A, slides and recordings from other SAS Ask the Expert webinars. From the Ask the Expert Library, just click Subscribe from the orange bar underneath the list of the recent articles.
NOTE: For best results when opening the attached slides, click on the “download” icon.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Ready to level-up your skills? Choose your own adventure.
Your Home for Learning SAS
SAS Academic Software
SAS Learning Report Newsletter
SAS Tech Report Newsletter