WHERE clause in SSRS expression

前端 未结 1 1248
执笔经年
执笔经年 2020-12-15 19:34

What\'s the syntax for inserting a WHERE clause in an SSRS expression? I am using BIDS 2008.

=Sum(Fields!QuantityToShi         


        
1条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-15 19:36

    Use the IIF method:

    =Sum(IIF(Fields!Program.Value = "FC", Fields!QuantityToShip.Value, 0))
    

    0 讨论(0)
提交回复
热议问题