![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, This is a bit odd and certainly puzzling. I have a very simple cube - 1 fact and two dimensions. Processing the cube throws up no errors despite the fact that the fact table contains FKs to one of the dimensions which do not exist in that dimension table. The rows with the missing keys are not processed in that they do not appear in the result set but neither are they rejected anywhere. The dimension is a shared one and has been processed seperately. The cube is set to fail on key processing errors and none have been allowed in the limit. The only thing I can think of is that the dimension table does not have a primary key and the documentation stresses that processing will fail when the primary key does not exist in the dimension. Also, the join column between fact and dimension is not used in any of the Cube dimensions. Other columns from the dimension table are used. Can anyone shed any light on this please? Thanks, Stuart |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Without the join to the dim, how does it know that the key value does not exist? DAW: First of all, with the join to the dim, it won't ever see a row where |
|
OK, thanks for that Dave. That clears things up a bit. And I certainly take on board what you say about optimising schemas in the many dimensioned environment. The only thing I'm still unclear of is when the Stop Processing on Key Errors kicks in. Without the join to the dim, how does it know that the key value does not exist? Is this where it is important that a dimension has a primary key? Thanks, Stu |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |