I have a situation where I have a column name `NotifcationLog.Status.
The status can be of 3 types Accepted, Pending & Overdue. I need to have a count of all the Notifications status .
I created a calculated field with the following expression
=COUNT(IIF(Fields!NotificationStatus.Value="Accepted",1,Nothing))
When I tried to add this Calculated field to the table and preview it , I got a error stating "aggregate ,row number,running value,previous and lookup functions cannot be used in calculated field expressions "
What should i do now ??