Agent report. Have changed the name (presentation name) of one of the agents in a team, now the report for that team shows both names individually, every day!
Must be a simple bit of code somewhere that I can use to only have the latest presentation name?
[size=10pt]SELECT AL1.PRESENTATION_NAME, AL1.OBJECT_ID, AL2.DISPLAY_DATE, AL2.QUERY_DATE, AL5.TN_INBOUND, AL5.TN_OUTBOUND, AL5.TT_INBOUND, AL5.TT_CONSULT, AL5.TN_INT_MADE, AL5.TN_INT_TAKEN, AL5.TT_OUTBOUND, AL5.TT_ACW, AL5.TT_HOLD_INTERNAL, AL5.TT_NOT_READY, AL5.TT_HOLD_INBOUND, AL5.TT_HOLD_UNKNOWN, AL5.TT_WAIT, AL5.TT_HOLD_OUTBOUND, AL5.TT_LOGIN, AL5.TN_TRAN_MADE, AL4.PRESENTATION_NAME, AL5.TN_HOLD, AL5.TOTAL_SHORT_CALLS_, AL5.TN_CONSULT, AL5.TT_HOLD, AL5.TT_HOLD_CONSULT FROM dbo.O_A_PERF_DAY AL1, dbo.T_A_PERF_DAY AL2, dbo.OBJ_TO_OBJ AL3, dbo.O_GA_PERF_DAY AL4, dbo.R_A_PERF_DAY AL5 WHERE (AL2.END_TIME_GMT>AL3.ADD_TIME_GMT AND AL3.CHILD_ID=AL1.OBJECT_ID AND AL3.PARENT_ID=AL4.OBJECT_ID AND AL5.TIME_KEY=AL2.TIME_KEY AND AL5.OBJECT_ID=AL1.OBJECT_ID) AND ((AL4.PRESENTATION_NAME=‘VAG_Regulated_Sales’ AND (CONVERT(VARCHAR(8) ,(DATEADD(day,-1, GETDATE())), 112) = AL2.DATE_YYYYMMDD) AND (AL3.DELETE_TIME_GMT IS NULL OR AL3.DELETE_TIME_GMT>AL2.BEGIN_TIME_GMT)))[/size]
Hum…for me is normal because it is a "new " person you created and the old one has stats and also the new one…however old one will not collect new stats but only the new so no duplication of information
Oh, some more info on it.
In DMA, there is only 1 name being collected against. So i cannot see both names of the agent that I can see in the hyperion report
Yes I understand you, I take this as a normal operation, for example in your CC you have agent David with login 5600, today he resigned, so you hire Susan, so now in CME you go to person object and change the David name by Susans one. Just a name change but for reporting stuff they are to different agents now, the same in your case, you had agent Josse (wrong written) and you correct it for Jose, for reporting stuff the agent is different now as the name changed, no matter if only one letter, the name is different.
Same stats on time? Are you sure? If I understand you, you can extract historical reports for Jose (last modification) in range of 2 weeks ago for example??? You should but get no values at all…because presentation names are completely different now…
Can you export the data and indicate the ranges you are taking? It is very strange for me what you are indicating Mark…
SELECT AL2.TT_LOGIN, AL1.PRESENTATION_NAME, AL1.OBJECT_ID, AL3.QUERY_DATE FROM dbo.O_A_PERF_DAY AL1, dbo.R_A_PERF_DAY AL2, dbo.T_A_PERF_DAY AL3, dbo.OBJ_TO_OBJ AL4 WHERE (AL2.OBJECT_ID=AL1.OBJECT_ID AND AL3.TIME_KEY=AL2.TIME_KEY AND AL3.END_TIME_GMT>AL4.ADD_TIME_GMT AND AL4.CHILD_ID=AL1.OBJECT_ID) AND ((AL3.QUERY_DATE=‘20091026’ AND AL1.OBJECT_ID=‘101_0_3010’ AND (AL4.DELETE_TIME_GMT IS NULL OR AL4.DELETE_TIME_GMT>AL3.BEGIN_TIME_GMT)))
That brings back both names against the object id.