← Back to team overview

dhis2-devs team mailing list archive

Re: Aggregate indicators

 

Hi Calle,

I have some aggregate forms which have tables with subtotals and grand
totals. There is a big number. Had to use the primary elements in both
indicators which will take up more memory.

Thanks
Pramil

On Thu, Apr 28, 2016 at 3:34 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:

> Pramil,
>
> Do you have a SIGNIFICANT requirement for nested indicators - I mean
> beyond one or two random ones? Nested indicators were originally part of
> the DHIS 1.4 design all the way back in 2003, but it was complicated to
> implement and we never had a case where it was absolutely necessary, so it
> remained in the interface but with no code in the indicator engine to
> actually process them.
>
> DHIS 1.4 do have calculated & saved data elements which would be a good
> option if your formulas contain too many data elements, but DHIS2 do not
> support that - it uses indicators for the same purpose, which without
> support for nested indicators won't help you.
>
> One workaround is to create a few "combo" data elements that represent a
> collection of data elements, and then use a script/query to populate it
> every x hours from your original source data elements. Those "combo"
> elements can then be used in indicators the normal way.
>
> Regards
> Calle
>
> On 28 April 2016 at 10:38, Lars Helge Øverland <lars@xxxxxxxxx> wrote:
>
>>
>> Hi Pramil,
>>
>> no, not currently.
>>
>> Lars
>>
>>
>> On Thu, Apr 28, 2016 at 10:35 AM, Pramil Liyanage <pramilcl@xxxxxxxxx>
>> wrote:
>>
>>> Hi,
>>>
>>> Is there any possibility to use an indicator (identifier) in a formula
>>> of another indicator instead of using its formula?
>>>
>>> Regards
>>> Pramil
>>>
>>> On Thu, Apr 28, 2016 at 12:10 PM, Lars Helge Øverland <lars@xxxxxxxxx>
>>> wrote:
>>>
>>>> Hi JM,
>>>>
>>>> there is no hard limit (beyond 2gb expression length;).
>>>>
>>>> However data analytics performance (and entry forms if you have
>>>> indicators there) will of course suffer with extremely large indicators.
>>>>
>>>> regards,
>>>>
>>>> Lars
>>>>
>>>>
>>>> On Wed, Apr 27, 2016 at 11:44 PM, Juan Manuel Alcantara Acosta <
>>>> jmalcantara1@xxxxxxxxx> wrote:
>>>>
>>>>> Hi Devs
>>>>> Is there a limit on the number of data elements that can be added in
>>>>> an indicator formula?
>>>>> Regards,
>>>>> JM
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Lars Helge Øverland
>>>> Lead developer, DHIS 2
>>>> University of Oslo
>>>> Skype: larshelgeoverland
>>>> http://www.dhis2.org <https://www.dhis2.org/>
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>>
>> --
>> Lars Helge Øverland
>> Lead developer, DHIS 2
>> University of Oslo
>> Skype: larshelgeoverland
>> http://www.dhis2.org <https://www.dhis2.org/>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>

References