Hi Victor,
the below expression contains parenthesis, and will not work in program 
indicators:
https://jira.dhis2.org/browse/DHIS2-2813

Can I suggest to write the below indicator as:
- aggregate type: COUNT
- expression: V{event_count}
- filter: (#{tbLC6IHktf0.zhiaH2sMDEB}+(#{tbLC6IHktf0.HqvccHzvdUj}+ 
#{tbLC6IHktf0.d88MXV7ikNH}+ #{tbLC6IHktf0.SiBIjK40DGq}))  / 
#{tbLC6IHktf0.spWKINz7xwF} >=80

Best regards,
Markus

> 12. feb. 2018 kl. 08:48 skrev Victor Tabu <vt...@unicef.org>:
> 
>   <>
>  
> Morning everyone and wish you good week,
>  
> I am trying to check if my indicator reach the threshold by using the formula 
> below
>  
> d2:condition('100(#{tbLC6IHktf0.zhiaH2sMDEB}+(#{tbLC6IHktf0.HqvccHzvdUj}+ 
> #{tbLC6IHktf0.d88MXV7ikNH}+ #{tbLC6IHktf0.SiBIjK40DGq}))  / 
> #{tbLC6IHktf0.spWKINz7xwF} >=80',1,0)
>  
> but I get this error message, is it same one who can tell me what is wrong in 
> the  formula?
>  
> Thank in advance
>  
> <image002.jpg>
>  
> ---------------------------------------------------------------------------------------------------------------------
> Victor TABU TSHIBAMBULA
> Adminstrateur Gestionnaire du Système d’Information - Kinshasa
> Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vt...@unicef.org 
> <mailto:vt...@unicef.org>, skype : vtabu
>  
> Fonds des Nations Unies pour l’Enfance
> 372, avenue Colonel Mondiba, Kinshasa - Ngaliema
> Suivez nous sur Facebook <https://www.facebook.com/UNICEFRDC/>, Twitter 
> <https://twitter.com/UNICEFDRC>, Pona Bana <http://ponabana.com/> et 
> http://www.unicef.org/ <http://www.unicef.org/drcongo/french/>
>  
>  
> <image001.png>
>  
> 
> <image006.jpg>                  
> 
>  
> 
>  
> From: Dhis2-users 
> [mailto:dhis2-users-bounces+vtabu=unicef....@lists.launchpad.net 
> <mailto:dhis2-users-bounces+vtabu=unicef....@lists.launchpad.net>] On Behalf 
> Of Lars Helge Øverland
> Sent: Monday, February 12, 2018 6:42 AM
> To: Edward Robinson <erobin...@projectbalance.com 
> <mailto:erobin...@projectbalance.com>>
> Cc: dhis2-users <dhis2-users@lists.launchpad.net 
> <mailto:dhis2-users@lists.launchpad.net>>
> Subject: Re: [Dhis2-users] Custom forms - disable / enable sections
>  
> Hi Edward,
>  
> this is a popular request; unfortunately we do not have a specific feature 
> for this.
>  
> One option is to come up with a few facility "profiles" and create new data 
> sets for each, while re-using the same data elements within the data sets, 
> then assigning the data sets to the org units accordingly.
>  
> We are getting requests for several variants of this feature: 
>  
> a) assigning data elements to facilities directly
> b) assigning sections to facilities directly
> c) assigning data elements to org unit groups within a group set
> c) assigning sections to org unit groups within a group set
>  
> I assume your request is similar to d)? Would be good if you can explain a 
> bit more about your usecase.
>  
> best regards,
>  
> Lars
>  
>  
>  
>  
> On 10 February 2018 at 00:02, Edward Robinson <erobin...@projectbalance.com 
> <mailto:erobin...@projectbalance.com>> wrote:
> Is it possible to hide or show certain sections (tabs) of custom forms by 
> facility based on some facility property?  We are trying to avoid having 
> multiple forms for various services and present them on a single page with 
> multiple tabs if possible, but we want to be able to hide tabs that are 
> irrelevant for certain facilities.
> Thanks in advance for any ideas!
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@lists.launchpad.net 
> <mailto:dhis2-users@lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp 
> <https://help.launchpad.net/ListHelp>
> 
> 
>  
> -- 
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> l...@dhis2.org <mailto:l...@dhis2.org>
> http://www.dhis2.org <https://www.dhis2.org/>
>  
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@lists.launchpad.net 
> <mailto:dhis2-users@lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp 
> <https://help.launchpad.net/ListHelp>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> Post to     : dhis2-users@lists.launchpad.net 
> <mailto:dhis2-users@lists.launchpad.net>
> Unsubscribe : https://launchpad.net/~dhis2-users 
> <https://launchpad.net/~dhis2-users>
> More help   : https://help.launchpad.net/ListHelp 
> <https://help.launchpad.net/ListHelp>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to