I've checked this question, but it was asked too earlier.
I'm trying to covert crystal report formula to ssrs-expression
. What could be the ssrs-expression for below example?
For example:
if(instr({?@Code},",") > 0) then
formula = "My Text"
elseif(len({?@Code})>0) then
formula = "FOR XYZ " + {?@Code}
end if
I need to convert it into ssrs-expression
Note: This is just an example I'm having so many complex formulas like above.
Also, is there any blog - site - link where can I find all the formulas conversion code for ssrs-expression?
You will need something like this
=iif(instr(Parameters!Code.Value, ",") > 0;
"My Text",
iif(len(Parameters!Code.Value)>0),
"FOR XYZ " + Parameters!Code.Value,
""
)
)
Please also see the MSDN reference for example expressions
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.