Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217117

Cumulative sums

$
0
0

I have a table that tracks users' performance in various categories of questions as they take a quiz. 5 questions are drawn randomly from 3 different question categories X, Y and Z. A score is calculated for each user in each category based on how many correct answers he got in that category.

 

 

Question Categories.png

 

How can I calculate cumulative sums for CorrectAnswers and QuestionsAnswered by date, by user and by question category? I want to use the cumulative sums to caculate a cumulative score. That part is easy. It's the cumulative sums that I'm struggling with. This is the end result I'm looking for.

 

Cumulative.png

 

 


Viewing all articles
Browse latest Browse all 217117

Trending Articles