Greetings Jeffrey, I think I understand what your trying to do so hopefully my answer helps you.
First, I would start with the [quiz_fact] and join [quiz_fact].[Quiz Id] to [quiz_dim].[Id] and then [quiz_fact].[Course Id] to [course_dim].]Id].
Second, I am assuming when you say "course codes" you are referring to [course_dim].[Code]. In this case, the "course code" is not unique because the same course was offered in more than one term. This will result in multiple quizzes being assigned to the same "course code". If you bring in a unique identifier such as [course_dim].[Canvas Id] first this should produce what you're looking for. Keep in mind if there are multiple quizzes in the course you will see a line item for each quiz associated with that [course_dim].[Canvas Id].
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.