Hi,
I built my first power app and now I am trying to put scores onto each question answered. I used a one-screen format, whereby I utilized a tabbed option for each section (I have 8 such sections) where it varies in the number of questions to answer. I am using one submit button to close off all eight sections.
I am looking at having each section be equal to 100% and then finding the average at the end as this is to be used as an audit on field teams however this is where I have become stuck.
This is what I've done thus far when just submitting the questions with no score added to the questions:
If(
varTab = "Customer Experience",
Patch(
'Customer Information',
Defaults('Customer Information'),
CIForm.Updates); ResetForm(CIForm
);
Patch(
'H&E (Internal)',
Defaults('H&E (Internal)'),
HEIntForm.Updates); ResetForm(HEIntForm
);
Patch(
'H&E (External)',
Defaults('H&E (External)'),
HEExtForm.Updates); ResetForm(HEExtForm
);
Patch(
'SmartHome (Internal)',
Defaults('SmartHome (Internal)'),
SHIntForm.Updates); ResetForm(SHIntForm
);
Patch(
'SmartHome (External)',
Defaults('SmartHome (External)'),
SHExtForm.Updates); ResetForm(SHExtForm)
Solved! Go to Solution.
Hi @AP1979 ,
It would be quite complicated to achieve your need. You have no respective scores for each answer in data sources, so it will be too cumbersome to set up the scores in your App. When it's done to set up scores for each answers, get total and average scores will be simple.
One of the easiest approaches will be add serial numbers for each answer, so that you will be able to easily get the corresponding score using formula like below:
Switch(
StartsWith(AnswerDropdown1.Selected.Value)
"1",
10,
"2",
5,
"3",
0
)
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @AP1979 ,
Could you please share more details about your scenario? Screenshots of that screen along with some explanations will be much helpful.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi,
Thanks for your assistance with this; I have created a tabbed app using a Sharepoint data source where each tab (12 tabs in total) has 8 - 12 questions/audits used by my team to score individuals on different aspects of their work. Where I got stuck is based on having a scoring/point system for each question, where each section would be equaled to 100% and from there find the average of all sections added together to get their overall score (out of 100%). And from there showing that on a chart showing how they performed on each of the 12 sections/tabs
Hi @AP1979 ,
It would be quite complicated to achieve your need. You have no respective scores for each answer in data sources, so it will be too cumbersome to set up the scores in your App. When it's done to set up scores for each answers, get total and average scores will be simple.
One of the easiest approaches will be add serial numbers for each answer, so that you will be able to easily get the corresponding score using formula like below:
Switch(
StartsWith(AnswerDropdown1.Selected.Value)
"1",
10,
"2",
5,
"3",
0
)
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
User | Count |
---|---|
172 | |
94 | |
74 | |
72 | |
58 |
User | Count |
---|---|
215 | |
164 | |
95 | |
92 | |
74 |