Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Display dimension even if no fact?

$
0
0

I will try my best to explain, I have 2 dimensions and one fact.
DimCourses (only has 10 rows, each course has a different passing percent),
DimStudents,
FactGrades   (stores grades by student by course.

A student has to take tests for all courses but some have not taken any tests, hence they do not have a row in the fact table.

What I have is:
A Slicer with student name from DimStudents

A table report as follows:
Course names from DimCourses
Average Scores per course for that student (from FactGrades)

What I want is:
If I select a student that does not have any courses (or only taken partial list of courses), I still want to display all the courses in the column with a blank in the score column

What happens is, if I selct that student, the list of courses disappears since it does not exist in the fact table.

Is there any way out of this?  I did select the Show Items With No Data option also but it does not work. 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>