I have the following expression that works beautifully to add two values, regular hours and overtime hours.
Sum(IIF(Fields!BillStatus.Value = "F", (CDec(Fields!RegHrs.Value) + CDec(Fields!OvtHrs.Value)),CDec(0)),"ReportDataset")
What I need to do is add a third value to that, but this third value will come from a different dataset, and I cannot seem to find the proper syntax for that.
Somehow, immediately after the OvtHrs.Value, I need to say something to the effect of...
+ (Fields!HoursWorked.Value, "RBaseJobBaseline")
How do I inject that value as part of the "true" clause of the IIF, since it needs to come from a different dataset.