SSRS 中的隐藏行和导出到 Excel 问题
我有一份包含 3 个可扩展列的报告。我在其中一行中有一个条件,对隐藏属性进行了以下说明:
=IIF(Parameters!GroupBy.Value = "Fleet", TRUE, FALSE)
基本上,这意味着如果选择的参数是 Fleet,则隐藏值设置为 true,否则设置为 false。它在报告预览中看起来很完美,但是当我将其导出到 Excel 时,无论如何它都会显示这些行......
这是怎么回事?
I have a report that has 3 expandable columns. I have a condition in one of the rows that says the following for the hidden property:
=IIF(Parameters!GroupBy.Value = "Fleet", TRUE, FALSE)
Basically this is saying that if the parameter picked is Fleet then the hidden value is set to true otherwise its set to false. It looks perfect in the report preview but then when I export it to excel it shows these rows no matter what....
Whats the deal?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据我的经验,在 Excel 中隐藏行效果不佳。我建议您使用表达式从数据集中过滤掉该列。它具有相同的效果,但在 Excel 中效果更好。
在过滤方面,您可以在sql、数据集中或表/列表/图表中对其进行过滤。
In my experience hidinng rows in excel doesn't work well. I suggest you instead use the expression to filter out the column from your dataset. It has the same effect but works better in excel.
In terms of filtering, you can either filter it in your sql, in the dataset, or in your table/list/chart.