Hi there,
I have a dataset with two levels of granularity in the one table and would like some guidance on how to approach doing analysis at the higher level.
I am working with student data and each student is enroled Units. At a higher level, the student is enrolled in a Course as well, and the Units make up the course. The data is in one table, so the Course info is repeated for each Unit enrolment. (I am working with a flat text file export - unable to get database access)
I want to work out average time to complete a Course, and have the Course Commence Year, and the Course Completion year (in a separate table). I have a calculated column that works out the years taken complete the course, but this value shows against every Unit for that Student-Course combination.
I am not sure how to work out the average at the Course level.
Any suggestions on the approach would be appreciated (am happy to try and work out the DAX, just need an idea on what to play with)
The table looks something like this (abbrev. to show relevant info):
Student ID|Course Code|Unit Code|Course Commencement Year|calc col - Years to Complete
123|ABC|U1|2010|3
123|ABC|U2|2010|3
987|ABC|U3|2014|0
Cheers
Phil
I have a dataset with two levels of granularity in the one table and would like some guidance on how to approach doing analysis at the higher level.
I am working with student data and each student is enroled Units. At a higher level, the student is enrolled in a Course as well, and the Units make up the course. The data is in one table, so the Course info is repeated for each Unit enrolment. (I am working with a flat text file export - unable to get database access)
I want to work out average time to complete a Course, and have the Course Commence Year, and the Course Completion year (in a separate table). I have a calculated column that works out the years taken complete the course, but this value shows against every Unit for that Student-Course combination.
I am not sure how to work out the average at the Course level.
Any suggestions on the approach would be appreciated (am happy to try and work out the DAX, just need an idea on what to play with)
The table looks something like this (abbrev. to show relevant info):
Student ID|Course Code|Unit Code|Course Commencement Year|calc col - Years to Complete
123|ABC|U1|2010|3
123|ABC|U2|2010|3
987|ABC|U3|2014|0
Cheers
Phil