Hello. Did you get a syntax error? If yes, try to replace comma be semicolon in the expression:
=Sum(IIf([ID WBS]='construction';1;0))
If you see '#error' text in the field instead of actual value, please make sure that you specifyed "Control Source" for the report properly. For example, it could be "SELECT * FROM your_table_name"