So I am trying to create a quiz grading system and there are few different types of errors.
I am marking errors in a form field that is then added to a gallery that represents the total errors in a collection.
I want to now figure out how to represent the different type of errors in this collection as a score, i.e. how many errors did this person get?
In other words, i want my quiz to generate a score, but i am unsure as to how to represent that since there are different types of errors that are worth different amounts of points.
does anyone have any tips or advice?
Do you mean where the same field in the gallery could hold differing values?
The above was done with the simple expression:
CountIf(Gallery1.AllItems,SampleHeading="Lorem ipsum 1")+CountIf(Gallery1.AllItems,SampleHeading="Lorem ipsum 2")
but if you needed a weighting then I suppose you could do something like:
(CountIf(Gallery1.AllItems,SampleHeading="Lorem ipsum 1")*10)+(CountIf(Gallery1.AllItems,SampleHeading="Lorem ipsum 2")*20)
Would this work for your scenario?
Like it? please click the Thumbs Up button!
Problem Solved? please click the Accept as Solution button to help other Community members find the answer as well!
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2