Hello All,
I’m trying to create a report that replicates a spreadsheet. It’s fairly simple, but I’m having difficulty with one aspect. In searching this forum I think my answer may be found in something called a manual Cross-Tab. However, not having much experience with Cross-Tab reports I’m lost.
I have a number of batch jobs that run overnight. Each job is scheduled to execute at a certain time (with a 20 minute grace period). This is a monthly report so the report lists the job names in the rows and each business day in the column. I have this part working well enough.
The problem I’m having is this:
If a job is scheduled to run at 11:00pm (23:.00) and it does not execute until 11:30pm (23:30) then it is late. I need to count how many times a job ran late during the previous month.
I’m using the following formula (@LateJob) to count the jobs that are late:
When I try to add this formula as a column in the Cross-Tab Expert, it fails and populates another Day date field.
What I want is a column for each day with “ActualTime” and @LateJob fields.
Any advice/assistance with this would be greatly appreciated!
- Tom
I’m trying to create a report that replicates a spreadsheet. It’s fairly simple, but I’m having difficulty with one aspect. In searching this forum I think my answer may be found in something called a manual Cross-Tab. However, not having much experience with Cross-Tab reports I’m lost.
I have a number of batch jobs that run overnight. Each job is scheduled to execute at a certain time (with a 20 minute grace period). This is a monthly report so the report lists the job names in the rows and each business day in the column. I have this part working well enough.
The problem I’m having is this:
If a job is scheduled to run at 11:00pm (23:.00) and it does not execute until 11:30pm (23:30) then it is late. I need to count how many times a job ran late during the previous month.
I’m using the following formula (@LateJob) to count the jobs that are late:
Code:
If {Table.ActualTime} > {Table.SchedTime}+1200 Then 1 Else 0
When I try to add this formula as a column in the Cross-Tab Expert, it fails and populates another Day date field.
What I want is a column for each day with “ActualTime” and @LateJob fields.
Any advice/assistance with this would be greatly appreciated!
- Tom