Storing Letter grades
4 posters
Page 1 of 1
Storing Letter grades
At our school, we have letter grades and I want to record them to the fact table. There really is only one attribute (like 'A+') but it etl tool doesnt allow this but I only want to supply it with a surrogate key and write that to the fact table. Thoughts?
chade25- Posts : 29
Join date : 2012-04-12
Age : 45
Location : Oregon
Re: Storing Letter grades
I would store the grade values as a dimension. The fact table sounds like a factless fact.
BoxesAndLines- Posts : 1212
Join date : 2009-02-03
Location : USA
Re: Storing Letter grades
Just curious, but is there a numerical value associated with the Grade which is used to calculate the Grade Point Average?
Jeff Smith- Posts : 471
Join date : 2009-02-03
Re: Storing Letter grades
Hi ,
the best approach is to store in dimension and have one more numeric column which will help in identifying if A+ > A, if you need to compare grades.
thanks
the best approach is to store in dimension and have one more numeric column which will help in identifying if A+ > A, if you need to compare grades.
thanks
hkandpal- Posts : 113
Join date : 2010-08-16
Re: Storing Letter grades
Yeah there is quality points which can refer to an A, but I am putting that on the fact table as well. Do you think I should keep that in the dimension? Its fine but the lower bound of the A is kept in the A- record, which is ok, just means more ETL to have a to and from
chade25- Posts : 29
Join date : 2012-04-12
Age : 45
Location : Oregon
Re: Storing Letter grades
You could have the point value in both the fact and Dimension - doesn't hurt. I would add columns that contained things like "Pass/Fail/Other" (the other would be an incomplete). It's a small dimension so adding things to make it easier to query won't cost anything.
Jeff Smith- Posts : 471
Join date : 2009-02-03
Similar topics
» Storing Timestamp in Time Dimension
» Storing timestamps in fact table?
» Storing Fiscal Year in a table
» Storing text comments in a data warehouse
» Storing timestamps in fact table?
» Storing Fiscal Year in a table
» Storing text comments in a data warehouse
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum