Result percentages by group do not show the percentages for the group

Result percentages by group do not show the percentages for the group

gan Dennis Mix -
Number of replies: 10
Is there a way when selecting grop results to just see the percentages for that group and not for everyone who has taken the questionnaire?
Cyfartaledd sgoriau: -
In reply to Dennis Mix

Re: Result percentages by group do not show the percentages for the group

gan Joseph Rézeau -
Llun o Core developers Llun o Particularly helpful Moodlers Llun o Plugin developers Llun o Testers Llun o Translators
Could you please post a screenshot showing the problem?
In reply to Joseph Rézeau

Re: Result percentages by group do not show the percentages for the group

gan Dennis Mix -
here is an example
Attachment Screen Shot 2022-11-03 at 7.43.44 AM.png
In reply to Dennis Mix

Re: Result percentages by group do not show the percentages for the group

gan Rob Johnson -

I am also hoping to find an answer for this.  I have been using Questionnaire since Moodle 1.x.  Up to Moodle 3.4, the group percentage would calculate out of the total submissions for the single group instead of all groups. When we upgraded to 3.7, we notice the calculation was changed. We are now using 3.11 and have a questionnaire with 17 school specific groups.  Our school administrators don't want to do math to calculate the percentages for their specific schools.  Help on this would be appreciated.

In reply to Rob Johnson

Re: Result percentages by group do not show the percentages for the group

gan Joris Even - JE Ontwikkeling -

I am experiencing the same problem with Moodle 3.9.x and newest version of this plug-in. 

The problem only occurs with the RadioButton and not yes/no questions. 

In reply to Joris Even - JE Ontwikkeling

Re: Result percentages by group do not show the percentages for the group

gan Mike Churchward -
Llun o Core developers Llun o Plugin developers Llun o Testers
Can you post the exact steps to reproduce the problem please?
In reply to Mike Churchward

Re: Result percentages by group do not show the percentages for the group

gan Rob Johnson -

Steps to reproduce:

  • Set up questionnaire using radio buttons questions.
  • Set questionnaire to separate groups (visible groups may have the same issue, but I am not sure.
  • Have groups members submit the questionnaire.
  • Look at group results instead of "All participants." Notice that group results show percentages based on all submissions instead of the group total.
In reply to Mike Churchward

Re: Result percentages by group do not show the percentages for the group

gan Joris Even - JE Ontwikkeling -

Hello Mike, 

Please be informed that we created a fix for this problem and will make this available to you shortly. (latest next week).

In reply to Joris Even - JE Ontwikkeling

Re: Result percentages by group do not show the percentages for the group

gan Joris Even - JE Ontwikkeling -

Hello Mike and Rob, 

We created a fix for this problem and submitted a pull request.

https://github.com/PoetOS/moodle-mod_questionnaire/pull/466

Hope that helps. @mike thanks for all the efforts.

Joris

In reply to Joris Even - JE Ontwikkeling

Re: Result percentages by group do not show the percentages for the group

gan Rob Johnson -

Thank you Joris. This was very helpful.