如何隐藏 SSRS 2008 矩阵中最左边的列?

发布于 2024-09-28 05:23:41 字数 308 浏览 0 评论 0原文

我在 SSRS 2008 报告中有一个矩阵。行按“时间”字段分组,列按“字段名称”字段分组。非常标准的东西,你可以在下面看到它的设计师视图。

我正在使用的矩阵,突出显示时间列

这工作得很好,除了在某些情况下我需要隐藏“时间”列(在图像中突出显示)。

我尝试在列本身和各个字段上设置隐藏属性。这会留下一个大的空白区域,该区域通常会显示该列。我尝试设置时间行组的隐藏值,但这隐藏了整行数据。

有没有办法用 SSRS 2008 隐藏这些信息?

I have a matrix in an SSRS 2008 report. The rows are grouped on the Time field, and the columns are grouped on the FieldName field. Pretty standard stuff, you can see the designer view of it below.

The matrix I'm working with, with the Time column highlighted

This works pretty well, except that in some instances I need to hide the "time" column (highlighted in the image).

I've tried setting the Hidden property, both on the column itself and the individual fields. This leaves a large empty area where the column would normally display. I've tried setting the hidden value for the time row group, but that hides the entire row of data.

Is there any way to hide this information with SSRS 2008?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

音盲 2024-10-05 05:23:41

我通过一些实验找到了解决方法。这是我所做的:

  • 将相邻的列组添加到 FieldName 列。此列按时间分组(与行组相同)。

  • 将新列组的标题设置为始终显示文本“时间”。

  • 右键单击此新列的选择按钮,然后从列表中选择“列可见性...”。输入我想要的隐藏表达式。

  • 删除了原来的时间列,选择保留关联的组。

I was able to find a work-around with a little experimentation. Here's what I did:

  • Added an adjacent column group to the FieldName column. This column was grouped on Time (the same as the row group).

  • Set the header of the new column group to always display the text "Time."

  • Right-clicked on the selection button for this new column and selected "Column Visibility..." from the list. Entered the hidden expression I wanted.

  • Deleted the original Time column, choosing to retain the associated group.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文