The sum of two variables is equal to one variable

c’est à dire le nombre de participants est égal à somme ‘‘hommes’’ et ‘‘femmes’’

@lamo, do you want to put a constraint here?

C’est le nombre de participants qui doit me générer les sous questions à renseigner
merci

@lamo, could you list out the dummy questions for this requirement? That should be easy for us to help you solve your issue.

Exemple de question:;
champ hommes=2
champ femmes=4
Champ nombre total= 6
maintenant comment faire la somme des deux (hommes/femmes)

Salut @lamo
Vous devez ajouter des questions du calcul expliqué dans ces publications

https://support.kobotoolbox.org/calculate_questions.html

https://support.kobotoolbox.org/advanced_calculate.html

Stephane

1 Like

@lamo, apart from the support articles you could also have a look at the workaround discussed previously:

Thank you Kal_Lam, I would like to know if there is not a slightly more explicit formula for calculating the sum or average to generate a score for several questions whose references start with n1 and end with n50 because the score must be calculated on a series of 50 questions whose response methods are yes (1) and no (0).

thanks in advance