How I can direct export report from SSRS to Excel (xls, xlsx) without necessary rendering it in web browser because report is too big and rendering is very slow?
And how I can remove hidden columns and rows from this exported report.
How I can direct export report from SSRS to Excel (xls, xlsx) without necessary rendering it in web browser because report is too big and rendering is very slow?
And how I can remove hidden columns and rows from this exported report.
In order to export the report directly, you need to use a URL that will perform the export to your format. Here is the Microsoft Docs reference.
Here an example of the URL to export as XLSX:
http://myrshost/ReportServer?/myreport&rs:Format=EXCELOPENXML
The hidden columns and rows may be related to tablix rows and columns that are set to hidden. The Excel formatted report also includes small blank cells for any whitespace you have in your design. To my knowledge, you cannot remove them without affecting the layout of the Excel file. When I know a report will be exported to Excel, I include only the table/Tablix with no whitespace on the report. That produces a pretty clean Excel file.