SSRS Expression Help

  • I need help adding onto my SSRS Expression. If the value is zero, i am getting nothing returned to the report. I believe I need to call IsNothing and return a 0; however, I am not getting too lucky on the syntax. Can I get a hand?

    =Avg(IIF(Fields!NextService.Value = "Substance Abuse", Fields!DaysToNextService.Value, NOTHING))

  • =IIF(Fields!NextService.Value = "Substance Abuse",Fields!DaysToNextService.Value,0)

    ?

     

    PS usage of AVG in the original expression is not clear

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply