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

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

av Dennis Mix -
Galle vástádusa: 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?
Gjennomsnittlig vurdering: -
Vástádussan geasa: Dennis Mix

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

av Joseph Rézeau -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers Bilde av Translators
Could you please post a screenshot showing the problem?
Vástádussan geasa: Joseph Rézeau

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

av Dennis Mix -
here is an example
Mielddus Screen Shot 2022-11-03 at 7.43.44 AM.png
Vástádussan geasa: Dennis Mix

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

av 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.

Vástádussan geasa: Rob Johnson

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

av 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. 

Vástádussan geasa: Joris Even - JE Ontwikkeling

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

av Mike Churchward -
Bilde av Core developers Bilde av Plugin developers Bilde av Testers
Can you post the exact steps to reproduce the problem please?
Vástádussan geasa: Mike Churchward

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

av 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.
Vástádussan geasa: Mike Churchward

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

av 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).

Vástádussan geasa: Joris Even - JE Ontwikkeling

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

av 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