【发布时间】:2016-07-06 08:50:26
【问题描述】:
我有两个表达式正在计算多个数据集
表达式1如下:
=Format((count(Fields!Second_Choice_Options.Value, "Authorisation") * 20 + count(Fields!Second_Choice_Options.Value, "ClaimPaid") * 20 + count(Fields!Second_Choice_Options.Value, "ClaimPended") * 20 + count(Fields!Second_Choice_Options.Value, "General") * 8 +count(Fields!Second_Choice_Options.Value, "Reassesment") * 20 +count(Fields!Second_Choice_Options.Value, "ReserveReview") *3 +count(Fields !Second_Choice_Options.Value, "Trigger") *5 + Sum(Fields!ACD_Calls.Value, "DataSet3") * 6 + Sum(Fields!Extn_Out_Calls.Value, "DataSet3") * 2) / 60, "00") & ":" & Format(DateAdd("s", (count(Fields!Second_Choice_Options.Value, "Authorisation") * 20 + count(Fields!Second_Choice_Options.Value, "ClaimPaid") * 20 + count(Fields!Second_Choice_Options.Value , "ClaimPended") * 20 + count(Fields!Second_Choice_Options.Value, "General") * 8 +count(Fields!Second_Choice_Options.Value, "重新评估") * 20 +count(Fields!Second_Choice_Options.Value, "ReserveReview") *3 +count(Fields!Second_Choice_Options.Valu e, "触发器") *5 + Sum(Fields!ACD_Calls.Value, "DataSet3") * 6 + Sum(Fields!Extn_Out_Calls.Value, "DataSet3") * 2) * 60, "00:00"), " mm:ss")
时间值为71:45:00
然后我有第二个表达式是
=System.Math.Floor(Sum(Fields!Staffed_Time.Value) / 3600) - System.Math.Floor(Sum(Fields!Time_in_Lunch.Value) / 3600)- System.Math.Floor(Sum(Fields! Time_in_AUX_1099.Value) / 3600) & ":" & Microsoft.VisualBasic.Strings.Format(Microsoft.VisualBasic.DateAndTime.DateAdd("s", Sum(Fields!Staffed_Time.Value), "00:00"), "mm :ss")
时间值为156:39:22
因此,我需要在文本框中进行新的计算,并将 71:45:00 作为 156:39:22 的百分比,然后将其显示为百分比 - 即 45.5%
我该怎么做?
谢谢 丹
【问题讨论】:
标签: reporting-services ssrs-2008