Need help with calculate field #11864
Unanswered
RFleming12
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a table where there can be multiple rows for each week. That is because a field I am calling on 'Total tutors in block' can be 1,2,3,4,5... - I then have a field that tells me how many 'Tutoring Blocks' happen, associated to the number from 'Total tutors in block'.
I need a calculated field (or something similar) to get one row per week looking at 'Tutoring Blocks' / total 'Tutoring Blocks' for each of the 'Total tutors in block' records.
In SQL it looks like this
, sum(case when total_tutors_in_block = 1 then 1 else 0 end) as count_1_tutorswhere we group by
Last lesson date weekAny help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions