So is it the case that if you are going to lookup something in a dimension table, then there must be a match between the fact table and the dimension table else rows will not be included. That is to say, a row in the fact table with code "XXX" will only be included in the cube aggregations if there is a corresponding code "XXX" in the dimension table. Is is implying referrential integrity I guess.
If this is not going to be the case with the source data (namely the fact table), then what do you do? Forget the dimension table and just use the value from the fact table as a dimension OR go through some sort of data transformation?
If this is not going to be the case with the source data (namely the fact table), then what do you do? Forget the dimension table and just use the value from the fact table as a dimension OR go through some sort of data transformation?