reporting-services AND / OR IF condition


Sometimes a complex IF condition is needed.

Let's take and example, Assuming we have the following raw data:

ItemIDItem NameItem Status
1Item 1Tentative
1Item 1Pending
1Item 1Approved

The Goal is:

Let's assume our business user ask to see which items are not approved and which are approved. Tentative and Pending items are considered as Not Approved.

IF Condition Example:

=IIF((Fields!ItemStatus.Value = "Tentative") Or (Fields!ItemStatus.Value = "Pending")
,"Not Approved", "Approved")

The results:

enter image description here