如何组合这两个表达式?
我想把
=mid(Fields!Created_By.Value , InStr(Fields!Created_By.Value,"|")+1)
在以下表达式中:
=sum(IIf(Fields!Issue_Status.Value = "New Report", 1, 0),"Incident_Log")
答案 0 :(得分:0)
解决了我的问题:
=sum(
iif(mid(Fields!Created_By.Value , InStr(Fields!Created_By.Value,"\")+1)=mid(User!UserID , InStr(User!UserID,"\")+1)
,iif(Fields!Issue_Status.Value <> "Closed",1,0)
,0)
,"My_Data_Source")