PA - trying to get duration within an Indicator - need some help

Tom Sienkiewicz
Mega Sage

Hi All,

 

I'm trying to collect values from a table where each user has a specific duration per day. Table looks like this:

TomSienkiewicz_0-1696800898936.png

I created an automated indicator with Aggregation: SUM and Unit: Minutes. I was expecting to see the scores being 480 minutes for each day per Agent, based on above data.

What it did instead, is it summed all the durations from all the days per Agent, like below:

TomSienkiewicz_1-1696801081093.png

e.g. Barbara Hindley had 3 entries with availability for 3 different days, so it summed 3x480 = 1440.

How do it get it to just use the existing value PER DAY and not sum everything up? There is no option to not aggregate by anything in the indicator...

Many thanks!

 

 

1 ACCEPTED SOLUTION

Hi @Tom Sienkiewicz 

Let's add the date condition into your Indicator Source. Sample:

  1. Daily Frequency: Date on Today
  2. Weekly Frequency: Date on This Week
  3. Monthly Frequency: Date on This Month

TaiVu_1-1696858976572.png

 

Then, re-execute the Data Collection Jobs and observe the result. The Collection Job will bring the conditions and apply to each day for all the period.

TaiVu_2-1696859377466.png

 

 

Let me know if it works for you.

 

 

Cheers,

Tai Vu

 

 

View solution in original post

5 REPLIES 5

Hi @Tom Sienkiewicz ,

 

I agree with the solution @Tai Vu has mentioned. For a daily indicator you need to add in "date on today". By doing this,  you will only capture the data where date is todays date. 

 

Right now you have no condition in your indicator source / automated indicator, so it will just fetch all data entries from the table and sum it up according to minutes.

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.

 

Best regards

Anders

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/