← Back to team overview

dhis2-users team mailing list archive

using parenthesis d2:condition

 

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

[cid:image002.jpg@01D3A3DD.FFF5B8F0]

---------------------------------------------------------------------------------------------------------------------
Victor TABU TSHIBAMBULA
Adminstrateur Gestionnaire du Système d’Information - Kinshasa
Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@xxxxxxxxxx<mailto:vtabu@xxxxxxxxxx>, 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/>







[cid:image003.jpg@01D37EE0.B5EF0170]


From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@xxxxxxxxxxxxxxxxxxx] On Behalf Of Lars Helge Øverland
Sent: Monday, February 12, 2018 6:42 AM
To: Edward Robinson <erobinson@xxxxxxxxxxxxxxxxxx>
Cc: dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>
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 <erobinson@xxxxxxxxxxxxxxxxxx<mailto:erobinson@xxxxxxxxxxxxxxxxxx>> 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
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp



--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@xxxxxxxxx<mailto:lars@xxxxxxxxx>
http://www.dhis2.org<https://www.dhis2.org/>

PNG image

JPEG image

PNG image

JPEG image


Follow ups