在 SSRS 中,我需要确定驱动程序在用户指定的日期之间登录系统的次数 - 我已经显示了报告[Driver] "LoggedOn at" [TimeOn] "Logged off at" [TimeOff] "for a duration of" [TimeOff-TimeOn]
(比它更多,但就是这样)。
生成的报告如下所示并且工作正常:
David Niven logged on at .... for a duration of 3 hours
John Jones logged on at ... for a duration of 7 hours
David Niven logged on at ... for a duration of 5 hours
David Niven logged on at ... for a duration of 2 hours
Paul Newman logged on at .... for a duration of 3 hours etc etc
我需要做的是提供一个摘要 - 即在用户指定的日期之间
David Niven logged on 3 times for a total duration of 10 hours
John Jones logged on 1 time for a total duarion of 7 hours
Paul Newman logged on 1 time for a total duartion of 3 hours
我可以使用表达式来添加每个驱动程序在 SSRS 2008 中登录的次数和登录时间吗?- 如果是这样,如何 - 如果需要,可以给出我的查询的更具体示例......非常感谢提前