I have the attached code as part of my query and it gives me the Hours and Minutes an employee was on break if they went over 15 minutes. This part works. Now I need to add another field on the report that just shows the amount they are over. For example the HrMin field may show 0:18 for HrMin (or how long they were on break) and now I want a column to show how much of that was over the allowed amount (15 minutes). I added a column with the following expression (instead of adding it to the query) but get an error...
=IIf( Fields!Type.Value = "Break", DateDiff("nn", Fields!HrMin.Value, 15), 0)
Is it a format issue? Please show me how to fix this.
substring((convert(varchar(8),(dateadd(ss,sum(ts_seconds) ,0)),114)),3,3) as HrsMin,