Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在 SSRS 报告中有条形图,我如何判断(使用表达式)它是否是图表的最后一个条形?有没有办法获取索引或位置,或者查看下一个是否为空?
有没有 Chart.bar.index() 之类的东西?
一种方法是检查类别组的当前值是否与最大值相同。例如,如果您的图表从 Dataset1 报告并按 分组date,那么您的表达式可能如下所示:
date
=iif(Fields!date.Value=Max(Fields!date.Value, "DataSet1"),"Specific","Default")