The Data Table |
You can perform several operations on data table columns by selecting items from a pop-up menu. To display the pop-up menu for a column, select the column and click the right mouse button.
Figure 2.7: Column Pop-up Menu
These items are also available from the View, Edit, and Data menus.
Figure 2.8: Move Columns Dialog
To move a column, select it in the Column order list, then click on the arrows to move it to the appropriate spot. Sort the columns by selecting Ascending and Descending under the Alphabetical order heading. Click on the Sort All button to sort the columns.
Select Save order with data to save this order with the data file. You must be in Edit mode to save the order with the data file.
Click OK when the columns are in the desired order.
Figure 2.9: Hide Columns Dialog
To hide columns, select the desired columns and click on the Hide button.
To unhide columns, select the desired columns and click on the Remove button.
Select Exclude hidden columns from analysis to specify that the hidden columns be unavailable for Analyst tasks.
Figure 2.10: Hold Columns Dialog
Select a column from the column list and click OK to hold it.
Select a held column from the column list and click on the Release button to release it.
You must be in Edit mode to insert columns.
Figure 2.11: Sort Dialog
Select columns from the candidate list and click on the Sort by button to specify the column values to use in sorting.
Use the up and down arrows next to the Sort by list to specify the desired column sort order.
Select a variable in the Sort by list and click on the Ascend/Descend button to sort the rows in the data table in ascending or descending alphabetical order of column values. The rows are sorted in ascending order by default. You must be in Edit mode to sort columns.
You must be in Edit mode to duplicate columns.
Figure 2.12: Delete Items Dialog
Select the columns that you want to delete and click OK. To avoid deleting any columns, deselect all columns or click on the Cancel button.
You must be in Edit mode to delete columns.
Figure 2.13: Column Properties Dialog
The Column Properties dialog displays the name, label, type (numeric or character), length, format, and informat of the selected column. If the data table is in edit mode, you can change the name, label, format and informat for the variable that the column represents. Otherwise, you can only view the information.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.