IIf功能不起作用(Visual Studio 2013 BI工具)

时间:2015-12-22 15:04:23

标签: visual-studio-2013 reporting-services sql-server-2014 bi-tool

我正在使用Visual Studio 2013(使用SQL-Server 2014,Reporting Services和BI工具),我尝试添加一个简单的" iif"表达式,但编译器返回错误(值= -1073741511)

我试过了:

= IIf ( 3000 > 1000, "True", "False" )

编译器是否可能不支持这些表达式或者是否有相似的表达式?

我需要的是一个表达式,用于从我的db中获取id = x

的值
= IIf ( Fields!ID.Value = 1 , Fields!Value.Value, 0 )

enter image description here

1 个答案:

答案 0 :(得分:0)

这是编译器本身的一个问题

有关更多信息,请参阅此帖子:Visual Basic Command Line Compiler has stopped working

无论如何,谢谢!