LOOKUP and IIF

  • I am trying to count all decvices which are greater than 1 and count those as "1" else blank.But I am also doing a lookup at the same time.

    IIF(Lookup(Fields!device.value,Fields!Device1.value,CountName,"Dataset1")>1,1,Nothing)

    But I get an Error#. Let me know whats wrong with syntax.

  • What is the error?

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

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

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