Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reporting services SSRS表达错误_Reporting Services - Fatal编程技术网

Reporting services SSRS表达错误

Reporting services SSRS表达错误,reporting-services,Reporting Services,基本上我转换了这个水晶报告公式 if ucas({?Trade Buy or Sell}) = "Trade Buy" then "IOSW_BUY_01" else if ucase({?Trade Buy or Sell})="Trade Sell" then IOSW_SELL_02. 致: 但是,我收到以下错误消息 错误消息 [RSCompilerErrorExpression]textrun'TradeBuyorSell.段落[0]的值表达式。TextRuns[0]包含 错误:[

基本上我转换了这个水晶报告公式

if ucas({?Trade Buy or Sell}) = "Trade Buy" 
then "IOSW_BUY_01" 
else if ucase({?Trade Buy or Sell})="Trade Sell" then IOSW_SELL_02.
致:

但是,我收到以下错误消息

错误消息

[RSCompilerErrorExpression]textrun'TradeBuyorSell.段落[0]的值表达式。TextRuns[0]包含 错误:[BC30455]未为的参数“FalsePart”指定参数 公共函数IIF(表达式为布尔值,TruePart为对象, FalsePart作为对象)作为对象的


非常紧急,请协助。

您的内部IIF缺少函数的第二个“false”部分

IIF(Fields!TradeBuyorSell.Value="Trade Buy","IOSW_BUY_01", IIF(Fields!TradeBuyorSell.Value="Trade Sell","IOSW_SELL_02", **************))

用需要用到的值替换******

基本上,我正在尝试转换这个水晶报表公式,如果ucas({?交易买入或卖出})=“交易买入”然后是“IOSW_买入01”,如果ucase({?交易买入或卖出})=“交易卖出”然后是IOSW_卖出02。
IIF(Fields!TradeBuyorSell.Value="Trade Buy","IOSW_BUY_01", IIF(Fields!TradeBuyorSell.Value="Trade Sell","IOSW_SELL_02", **************))