Forum Discussion
Roym
4 years agoHelper IV
Session result calculation based (including previous result)
I have a table with a long list of assessment results, both the test and review, and based on that I need to calculate the New_Result. What I need to do is determine the New_Result based on the p...
Roym
4 years agoHelper IV
amitchandak Nicee, this (almost) works! Not sure why, but for the first new session (2) it keeps the column empty, any idea how to fix that? The rest is working perfectly now!! Thanks
Anonymous
4 years agoNot applicable
HI Roym,
The expression is calculated based on the current session group, so the highlight row can't find out previous records with the same session group to calculate.
For this scenario, it means you need to add a condition to check if the current row is the first row, then you can use the current id to find out the previous id and use it as a condition to calculate.
Regards,
Xiaoxin Sheng
- Roym4 years agoHelper IV
Anonymous Thanks, this makes sense. Can you give any additional guidance on how to implement this? I'm not sure how, thanks