Scoring within a Group

8 views
Skip to first unread message

Rachael Sabelli

unread,
Jul 5, 2016, 4:45:52 PM7/5/16
to commcare-users
I understand from the link (https://help.commcarehq.org/display/commcarepublic/Creating+a+Score+Tally) that it's possible to calculate a score for questions within a form, but I want to do them for only a group of questions within the form. Is this possible?

Jeremy W.

unread,
Jul 8, 2016, 12:37:17 PM7/8/16
to commcar...@googlegroups.com
Hello,

You could do that by only including the question ids of the questions within the group in the total_score hidden value - does that work?

Jeremy

On Tue, Jul 5, 2016 at 4:45 PM, Rachael Sabelli <raab...@gmail.com> wrote:
I understand from the link (https://help.commcarehq.org/display/commcarepublic/Creating+a+Score+Tally) that it's possible to calculate a score for questions within a form, but I want to do them for only a group of questions within the form. Is this possible?

--
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy Wacksman
Dimagi, Inc.

Rachael Sabelli

unread,
Jul 8, 2016, 6:57:10 PM7/8/16
to commcare-users
Hi Jeremy,

Thanks for the response. 

I've tried to insert the string of questions, but am still not getting the desired response. 

For example, I have 10 questions that I want to take to total score of. I tried the following calculation for 'Calculate Condition', but it didn't work. 

 (/data/ipv_start/ipv1 and /data/ipv_start/ipv2 and /data/ipv_start/ipv3 and /data/ipv_start/ipv5 and /data/ipv_start/ipv4 and /data/ipv_start/ipv6 and /data/ipv_start/ipv7 and /data/ipv_start/ipv8 and /data/ipv_start/ipv9 and /data/ipv_start/ipv10 and /data/ipv_start/ipv11 and /data/ipv_start/ipv12 and /data/ipv_start/ipv13)/total_score

Is that the correct formatting for the calculation?

Thanks,

Rachael

Jeremy W.

unread,
Jul 8, 2016, 7:02:39 PM7/8/16
to commcar...@googlegroups.com
Hi Rachel,

You will want to use "+" instead of "and" if you want to add the values together.

Jeremy

Rachael Sabelli

unread,
Jul 8, 2016, 7:04:30 PM7/8/16
to commcar...@googlegroups.com
Thanks Jeremy! :)

I'm still a bit new to all of this and haven't quite figured out these small things yet. Really appreciate the quick response! 

--
You received this message because you are subscribed to a topic in the Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/mCOM7NgGHcI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-user...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Rachael Sabelli
Tingathe Community Outreach Program
Baylor College of Medicine Children’s Foundation Malawi
Private Bag B-397, 100 Mzimba Road
Kamuzu Central Hospital Complex
Lilongwe 3, Malawi
+001 317 749 1800
+265 (0) 997 827 316 
Reply all
Reply to author
Forward
0 new messages