4.12. Recoding Values in a Query
If you want to group data together based on a set of values in a column, you can do this by recoding a column in the Query Builder. For example, if you have sales offices from several different cities, you may want to group them by region. If region is not already defined in the data, then you can define it using the Query Builder. Recoding a column is similar to creating and applying user-defined formats to a column. But, when you recode a column, you create a newly computed column where the data values are actually changed. When you use formats, only the way the data values are displayed is changed.
Here are a few rows from the Latlong data table, which gives the latitude and longitude of volcanoes from around ...
Get The Little SAS® Book for Enterprise Guide® 4.1 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.