SSRS 2008 Hidden Columns Should NOT Export to CSV

独自空忆成欢 提交于 2019-12-04 01:52:06

Format options such as expressions on visibility are ignored for CSV rendering methods. CSV rendering methods are essentially data flows, so you can suppress elements that you don't want to include in CSV files by changing the DataElementOutput from Auto, the default value, to NoOutput.

There is a solution in the version of SRS 2008 R2, you need to perform a hide fields as follows:

=IIF(Globals!RenderFormat.Name="CSV", True, False)

means this part of the "Globals!RenderFormat.Name" is crucial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!