查找 ssrs 矩阵表列值
我有一个 SSRS 矩阵表,它动态生成列。但我想在该报告中添加一些静态列(手动添加)。但静态列将与动态列之一具有相同的值。我想要做的就是找到特定的动态列(带有 DynamicColoumn1 的列名称)并将其显示在此静态列中,
=IIF(Fields!DynamicColumnData.Value = "DynamicColoumn1",Fields!DynamicColumnDataValue.Value, "")
这仅适用于 DynamicColumnData 中的第一个数据,不适用于 DynamicColumnData 中的其他值。有人遇到过类似的问题吗?
I have a SSRS matrix table, which generates column dynamically. but i want to add some static coloumn in that report(added manually). but the static columns will have the same value as one of the dynamic column. All i want to do is, find the specific dynamic column (a column name with DynamicColoumn1) and show it in this static column
=IIF(Fields!DynamicColumnData.Value = "DynamicColoumn1",Fields!DynamicColumnDataValue.Value, "")
this works only for the first data in the DynamicColumnData, not working for other values in the DynamicColumnData. Anyone faced similar problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试更改公式以仅使用
First
数据集字段:Try changing your formula to use the
First
dataset field only:我这样做了
不确定这是有效的方法,但对我有用。
I did this way
Not sure this is the efficient way of doing, but worked for me.