![]() | ![]() | ![]() | ![]() | ![]() |
When exporting data from a crosstabulation table to XLSX, SAS Web Report Studio might take an unexpectedly long time to create the Microsoft Excel file. For example, exporting 720 rows to XLSX might take five minutes. Exporting the same table to XLS might take only a second. Depending on the size of the report, the export might time-out.
Note: The earliest report of this performance issue is release 4.31_M2. So, this issue is more obvious if you have upgraded from 3.1 to 4.31_M2 or later.
There is a property that you can set that can greatly improve performance. If you are using 4.4_M2 or later, then this property is available without a hot fix. In release 4.31_M2, this property is available with a hot fix applied. For a link to the hot fix download, see SAS Note 52956.
Here are the steps to set this property:
false
Other workarounds that can improve performance include the following:
You might be able to improve performance for XLSX by adjusting logging as explained in SAS Note 52891.
Export to XLS instead of XLSX, and then use Excel to save the file to XLSX format. There are some advantages to exporting to XLS. Specifically, when exporting to XLS, report style colors and conditional highlighting rules are maintained. When you export to XLSX, colors are not honored and conditional highlighting is removed. Only the data and SAS® formats are included. For more information about these limitations, see SAS Note 55212 and SAS Note 50440.
However, there are some differences in the output. Here is a very simple example of a crosstab exported to XLSX.
Here is the same table exported to XLS.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Web Report Studio | Linux for x64 | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 |
HP-UX IPF | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
64-bit Enabled Solaris | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
64-bit Enabled AIX | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Microsoft® Windows® for x64 | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
z/OS | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 | ||
Solaris for x64 | 4.31_M2 | 4.4_M2 | 9.3 TS1M2 | 9.4 TS1M2 |