SSRS Data label on first and last entry

孤人 提交于 2019-12-25 08:13:42

问题


I have a line graph which tracks days passed on the X-axis.

I would like for the data points to be visible on only the first entry and the last entry.

I tried the below, which I thought should show only the final entry, but in fact had the opposite effect.

=iif(Last(Fields!DateTime.Value),False, True)

Changing from the Last to the First (or Max or Min) all have the same effect.

An example with data point on only the first entry:

Many thanks.


回答1:


I figured it out.

I needed to show it explicitly where to look, so

=iif(Fields!DateTime.Value = Max(Fields!DateTime.Value, "BatchData") OR Fields!DateTime.Value = Min(Fields!DateTime.Value, "BatchData"),True,False)



来源:https://stackoverflow.com/questions/40591370/ssrs-data-label-on-first-and-last-entry

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