Usage Note 39963: Understanding how numeric, non-date variables that are defined as categories with a user-defined format are handled when exported to Microsoft Excel
SAS® Information Map Studio enables you to change the classification of a numeric variable to a category data item. These data items can also have applied user-defined formats. This usage note explains how these two settings impact the results when they are exported from SAS® Web Report Studio 4.2 running with the third maintenance release for SAS 9.2 (TS2M3) or later.
This usage note focuses on numeric variables that are not dates. For an explanation of the exporting behavior when the numeric data item is a date, see SAS Note 39964.
This example focuses on a numeric variable named Organization. The following display shows the Organization variable defined as a numeric in the table metadata.
This view shows that the data item is being created as numeric when selected for the information map.
The display below shows Organization defined as a Category data item in an information map. A user-defined format is also applied.
When this data item is used in a SAS Web Report Studio report, the user-defined format is applied to the results.
When you export this report to Excel, you will be able to sort and filter values based on the character values specified by the user-defined format, rather than based on the original numeric values.
If you are running a release prior to the third maintenance release for SAS 9.2 (TS2M3), the user-defined format is not used in Excel, and sorting and filtering is done on the original numeric values.
Operating System and Release Information
SAS System | SAS Web Report Studio | z/OS | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft® Windows® for x64 | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows Server 2008 for x64 | 4.2_M2 | | 9.2 TS2M3 | |
Microsoft Windows XP Professional | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Professional x64 | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 4.2_M2 | | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 4.2_M2 | | 9.2 TS2M3 | |
Windows Vista | 4.2_M2 | | 9.2 TS2M3 | |
Windows Vista for x64 | 4.2_M2 | | 9.2 TS2M3 | |
64-bit Enabled AIX | 4.2_M2 | | 9.2 TS2M3 | |
64-bit Enabled Solaris | 4.2_M2 | | 9.2 TS2M3 | |
HP-UX IPF | 4.2_M2 | | 9.2 TS2M3 | |
Linux for x64 | 4.2_M2 | | 9.2 TS2M3 | |
Solaris for x64 | 4.2_M2 | | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2010-06-24 15:17:27 |
Date Created: | 2010-06-10 15:17:57 |