peterb58
IS-IT--Management
- Mar 20, 2005
- 110
CR XI on Sybase 11.
I have to write a report to show the utilisation of some telephone lines.
I need to show how much of the time the line was busy compared to the total availability of the line.
The actual busy time is the easy part, what is proving difficult is the line availability.
The lines are split into groups along the lines of the phone number dialled, so one phone number can actually have several lines associated with it.
I have a table called Line Groups which defines which line ( in the system ) is associated with which group.
Group Line
1 1
1 2
1 3
2 4
2 5
So for a given period I know the available number of seconds. I need to multiply that by the number of lines in a group to give availability for that group for that period.
I can't figure out a formula to pull back the number of lines per group. Systems could have many more than the example.
Once I have that, the rest is simple maths!!
Thanks
Pete
I have to write a report to show the utilisation of some telephone lines.
I need to show how much of the time the line was busy compared to the total availability of the line.
The actual busy time is the easy part, what is proving difficult is the line availability.
The lines are split into groups along the lines of the phone number dialled, so one phone number can actually have several lines associated with it.
I have a table called Line Groups which defines which line ( in the system ) is associated with which group.
Group Line
1 1
1 2
1 3
2 4
2 5
So for a given period I know the available number of seconds. I need to multiply that by the number of lines in a group to give availability for that group for that period.
I can't figure out a formula to pull back the number of lines per group. Systems could have many more than the example.
Once I have that, the rest is simple maths!!
Thanks
Pete