[quote author=JordanReich link=topic=10079.msg45693#msg45693 date=1484344636]
Do not disagree. But its more the consideration of baby steps. In our work system split shifts are not something that is allowed and/or considered, so really its not something that is a concern.
In reality will probably combine various statues to compute the data as certain statues should be immune from it (due to special circumstances).
But the need is really to just understand how something like this should look in a generic formula which should give me the basis I need from which to expand it.
[/quote]
So create a new formula, inside write this:
[code]
function timeString(timeVar)
{
timeVar.toString();
return timeVar;
}
if (TotalNotReadyTime > 0)
{
100-timeString(TotalNotReadyTime/28800)*100;
}
else
{
"100%";
}
[/code]
replace TotalNotReadyTime with your statistic. It should already exist in your statserver.
CurrAgentInNotReady for me was custom, but I am not the original developer of the system, so they maybe have deleted the out of the box statistic, I am not sure. You maybe have it already, check it out on your stat server.
You will probably make this during working hours, so it will not make sense because your statistic will be 0 when you first use it. Give it the chance to run from the start of the day, so you have a valid incremental.
I did not test this, but it should work. I also wrote this quickly, so it maybe have some errors.
Patience, rest and persevere, will do the thing...
Good luck to you.