我在水晶报表中有一个计算字段,我需要将其转换为 SSRS 表达式。任何帮助,将不胜感激。
If ({VISIT_TYPE.DESCRIPTION} = "New" or {VISIT_TYPE.DESCRIPTION} = "Walk-In New") then
if {ATTEND_STATUS.DESCRIPTION} = "Did Not Attend" then
"c.New DNA"
else
"a.New"
else if ({VISIT_TYPE.DESCRIPTION} = "Return" or {VISIT_TYPE.DESCRIPTION} = "Follow Up"
or {VISIT_TYPE.DESCRIPTION} = "Walk-In Follow Up" or {VISIT_TYPE.DESCRIPTION} = "Walk-In Returns") then
if {ATTEND_STATUS.DESCRIPTION} = "Did Not Attend" then
"d.Return DNA"
else
"b.Return"