" /> ETL Aggregation Issues - Genesys CTI User Forum

Author Topic: ETL Aggregation Issues  (Read 19597 times)

Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
ETL Aggregation Issues
« on: April 02, 2009, 05:12:18 AM »
Advertisement
We have 2 timeprofiles defined, 1 hour & 30 minutes aggregation.
However values in table R_1_STAT_RES (30 mins) were lesser than table R_2_STAT_RES(1 hour)

Anyone has any ideas what is the problem ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL Aggregation Issues
« Reply #1 on: April 02, 2009, 05:29:36 AM »
??? Can you please be more clear? How are the jobs configured? What are those tables? Stats definitions? Logs? Lesser how?

tony

  • Guest
Re: ETL Aggregation Issues
« Reply #2 on: April 02, 2009, 05:32:55 AM »
I think they mean that, when you add up 2 x 30 mins, the Totals are less than the 1 x 1 hour...

If I had a penny for every time that someone asked that...  ::)

izai - is that the problem?

Tony


Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: ETL Aggregation Issues
« Reply #3 on: April 02, 2009, 05:53:20 AM »
when we generate report using these 2 tables,
for example, we got:
1 hour table  : N_Inbound = 339,Total talk time = 03:34:17
30 mins table : N_Inbound = 182,Total talk time = 02:00:22



Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL Aggregation Issues
« Reply #4 on: April 02, 2009, 02:38:41 PM »
??? Is it me or I don't see nothing wrong here?
Hehe Tony, that is a common question for, how was it? lewsers? hehe

Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: ETL Aggregation Issues
« Reply #5 on: April 03, 2009, 08:11:14 AM »
actually the figures were total for one whole day, it should tally at the end of the day, am i right ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL Aggregation Issues
« Reply #6 on: April 03, 2009, 04:13:37 PM »
Sorry but don't get it.

Offline GenesysNewbie

  • Full Member
  • ***
  • Posts: 225
  • Karma: -1
Re: ETL Aggregation Issues
« Reply #7 on: April 04, 2009, 06:58:38 AM »
ummm  i d like 2 help, but dont understand the problem.    ???

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: ETL Aggregation Issues
« Reply #8 on: April 04, 2009, 02:48:35 PM »
Hi Izai,

Could you please post the whole extract from both tables for only one object and spanning through two whole days? Put the extract in to excel spreadsheet.

Cheers,

ecki.

Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: ETL Aggregation Issues
« Reply #9 on: April 04, 2009, 05:30:58 PM »
Attached are requested data from both tables.. hope anyone can help me..

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL Aggregation Issues
« Reply #10 on: April 04, 2009, 07:50:46 PM »
Can you also post the definition of your stats and if they are TotalNumber or TotalNumberAdjusted / Action or Status? My guess is that your definition is as Action so you are watching the info in this way. Meaning, the stat is only counted when the event finished and not while occuring in the time profile selected.

Offline ecki

  • Sr. Member
  • ****
  • Posts: 329
  • Karma: 8
Re: ETL Aggregation Issues
« Reply #11 on: April 04, 2009, 10:47:19 PM »
I see the error you are doing. You are comparing two different time spans. In the hour table your time span is from 2pm to 11pm where as in the subhour table the time span is from 2pm to 6:30pm. If you summarized the exact time span from both tables, you would get correct numbers.

Cheers,

ecki.

Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: ETL Aggregation Issues
« Reply #12 on: April 06, 2009, 09:09:54 AM »
yes you were right, let me check few things here again..
thanks

Offline izai

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
Re: ETL Aggregation Issues
« Reply #13 on: April 06, 2009, 09:31:42 AM »
cavagnaro : here are the sample of our stat definition

[TotalNumberInboundCalls]
Category=TotalNumber
Description=Total inbound call
Formula=DCID
MainMask=CallInbound, HandlingInbound
Objects=Agent, GroupAgents, GroupPlaces, Place, RegDN
Subject=DNAction

[Total_Calls]
Category=TotalAdjustedNumber
Description=Total number of times agent completed handling a call
Formula=DCID
MainMask=CallUnknown, CallConsult, CallInternal, HandlingInternal, CallOutbound, HandlingOutbound, CallInbound, HandlingInbound, ASM_Outbound
Objects=Agent, GroupAgents, GroupPlaces, Place
Subject=AgentStatus

anything went wrong ?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: ETL Aggregation Issues
« Reply #14 on: April 06, 2009, 01:55:17 PM »
ecki is right, doing the sum in the correct time span it does sum ok.