Currently I am working in project, where we are migrating all the Excel reports (Behind logic in VBA code) to SSRS reports. I have to enable AUTO FILTER for the excel reports generated from SSRS. Can you please help on this
相关问题
- Filter Datagridview rows using TextBox
- Why does SSRS need to recycle the application doma
- Filter rows which has at least one of particular v
- Use multiple ReportItems in one expression in RDLC
- Filter Today's Date in MDX
相关文章
- SQL Server Reporting Services - Set default value
- Using safe filter in Django for rich text fields
- How to add negative filter in network tab of Chrom
- how to find/filter the array element with the smal
- Get list of reports from SSRS?
- SSRS tablix column CanGrow property for width?
- .filter is not a function [duplicate]
- Remove first element of a Stream in Java 8
I am trying to figure out how to do this as well. So far I have the following VBA to add an auto-filter to all sheets on row 1:
It is less than ideal, but I have added this to my
PERSONAL
workbook so that I can just run it when I generate a new report. I hope this helps, and if I figure out something better, I'll post again.I had the same issue too and I think it is not possible.
The Excel export is primarily a layout renderer. It replicates the layout of the rendered report as closely as possible. There are differences and different limitations in Excel, so not everything is working. The AutoFilter is not supported, you cannot add it automatically to the exported file.
Excel does not support interactive sort either.
https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/exporting-to-microsoft-excel-report-builder-and-ssrs#a-nameinteractivitya-interactivity
In my case, I have to open the generated file in c# and add the filter there.