Forum Discussion
Hariharan_R
Solution Sage
7 years agoFilter and Dynamic Result
Hi I have below tables and i need to get "Default/Bonus" (red colour columns) column on Trans table. Also mentioned the logic for the columns. We will be using RLS to filter the student....
Hariharan_R
Solution Sage
7 years agoHi
dates are in mm/dd/yyyy format.
Thanks
Ashish_Mathur
Super User
7 years agoHi,
In the third table, there is no Student/Subject column. So then how would we know what default/bonus column rule to apply.
- Hariharan_R7 years ago
Solution Sage
Hi
Third tables datetime column should compare with score table.
For example, if third table's datetime value is between the score.StartDate and Score.EndDate then Bonus value else default value. It also should consider the year of third table and year of score table.
condition - if(CourseDateTime>Score.StartDate
&& CourseDateTime<Score.EndDate, Bonus, Default) - Hariharan_R7 years ago
Solution Sage
Can anyone achieve this?