Monday, September 17, 2012 11:42 PM
I have records in my measure group 1 where the link (foreign key) to another measure group2/dimension is null sometimes. When I process the cube, measure group 1 is not bringing those records that have a null as a foreign key.
I have tried several things: deleting and recreating the measure group, setting null processing to preserve, setting unknown member to visible, setting error options.
Does anyone know a reason why it is ignoring null foreign key records?
Wednesday, September 19, 2012 7:02 AMModerator
The issue might be caused by the foreign key is null, so it can not map the relationship, you may need to map the null values in your fact table to a surrogate key, please see Koen's reply in the following similar thread:
Please feel free to ask if you have any question.
Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
- Marked As Answer by tsoukieh Wednesday, September 19, 2012 6:19 PM
Wednesday, September 19, 2012 6:19 PM
Thank you. That solved it. I changed these NULLS to -1 and added -1 record to the foreign key table. On the first processing it was still not showing them, until I processed the dimensions separately.