Link to home
Start Free TrialLog in
Avatar of Ali Shah
Ali ShahFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Cube Processing Error

Hi All,

My cube has been processing fine without any error messages. I added a new dimesion table in the data ware house and added a foreign key in my Fact table. I then added the values in the data ware house and everything was fine.

I then added the dimension in the cube and processed the dimension. But when i try to process the cube it gives the following error message.

The attribute key not found. MyFactTableName: Column Name

and a warning sign below it saying that the attribute key is not found in my dimension table and gives the table name.

please note i am using SQL Server 2005 BI Studio.

any idea?

best regards
Avatar of ValentinoV
ValentinoV
Flag of Belgium image

Did you check if your fact table's column (the one reported in the error) contains any values that are not present in the dimension?

Also, try full process if you haven't already, not just update.
Avatar of Ali Shah

ASKER

Hi ValentinoV,

thanks for your comments and sorry for late reply actually i went on annual leave and came back on Monday.
Actually i added new dimension tables and in fact tables i added the foreign keys of those dimension tables. Those foreign keys got some NULL values as well and cube was converting those NULL values to 0. Because my dimension tables didn't have 0 in primary key columns so it was giving me error message.

I did a quick fix by adding the 0 to to my dimension tables primary key and then updated my fact table to set the null value to 0. I don't know is it a good approach or not but it works.
However it seems strange that in the cube some other values are  NULL as well for the foreign keys of the dimesnion tables which were created in the cube when i created the cube but the cube only gives the error message for newly created primary / foreign key relationship and dimensions.

regards
ASKER CERTIFIED SOLUTION
Avatar of ValentinoV
ValentinoV
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you so much it solves the problem in efficient way.

Regards