Reporting Services - Count Column Values if equals A

后端 未结 2 1096
有刺的猬
有刺的猬 2021-01-02 04:49

I have a dataset called \'dsAllStuTargetData\' - i\'m trying to count the number of the \'A\' values that appear in the column \'Target\'.

I\'m doing this using a te

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 05:22

    IIF wants it's arguments in the format:

    IIF(condition, true part, false part)
    

    Which would equate to something like

    Count(IIF(Fields!Target.Value = "A",1,0),"dsAllStuTargetData")
    

    Does that work?

提交回复
热议问题