Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Lars Helge Øverland
Understood - thanks for the feedback. Lars On Mon, May 19, 2014 at 10:18 PM, Rodolfo Melia wrote: > This sounds great ! I like the idea of separating the operators to use > across Org Units or across Time. It sounds like we will gain this feature > just in time for Christmas... > > I noticed

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
This sounds great ! I like the idea of separating the operators to use across Org Units or across Time. It sounds like we will gain this feature just in time for Christmas... I noticed the new Org Unit count feature on the indicators- this will address many other needs, but not this one in partic

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Lars Helge Øverland
Hi Rodolfo, now I understand what you mean. The solution I think would be to introduce another aggregation operator: one for the time dimension, and another for the org unit hierarchy dimension. Then you could set the org unit hierarchy aggregation operator to avg to get your desired results. This

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Juan Manuel Alcantara Acosta
A possible solution would be to control the behavior of of a cat combination to produce totals or calculate an average across cat combo options and data elements. JM El 19/05/2014, a las 08:54, Rodolfo Melia escribió: > Hi Lars - your example for population is correct. It makes sense. Our case

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
Hi Lars - your example for population is correct. It makes sense. Our case is scores calculated for quality assurance. On a given month we may get: *Region A* - Outlet 1: 90 - Outlet 2: 100 - Outlet 3: not conducted - Outlet 4: 80 When looking in analytics at Region A, on the that month, we expect

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Lars Helge Øverland
Hi Rodolfo, I am not sure if I understand you correctly so I will just try to explain how it works: With avg operator, you can get a valid "disaggregated" data value for period "within" the data collection frequency. So if you collect population with a yearly frequency for a data element with the

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Rodolfo Melia
Hi Lars - thanks for the quick reply. I though AVG was valid within the same data-collection period as well as across time. If this is the case, how do you calculate an average within the same data collection period? AN indicator that divides the DE that has the answer between valid answers? Norma

Re: [Dhis2-devs] 'Average' Aggregation does 'Sum' instead

2014-05-19 Thread Lars Helge Øverland
Hi James, the "aggregation operator" refers to the time dimension - data will be averaged through time but still summed in the org unit hierarchy dimension. We could make this clearer in the system I guess. regards, Lars On Mon, May 19, 2014 at 12:55 PM, James Chang wrote: > Hi, > > On DHIS