Solved

Cube Processing Error

Posted on 2012-03-21
4
402 Views
Last Modified: 2012-08-13
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
0
Comment
Question by:shah36
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 37

Expert Comment

by:ValentinoV
ID: 37751149
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.
0
 

Author Comment

by:shah36
ID: 37860163
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
0
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 37860282
"Those foreign keys got some NULL values as well and cube was converting those NULL values to 0."

To prevent that you should change the NullProcessing property on the Key Column.  Right now it's probably set to ZeroOrBlank.  You'll probable want to change it to Preserve.

The following should be interesting to read: http://msdn.microsoft.com/en-us/library/ms345138(SQL.90).aspx
0
 

Author Closing Comment

by:shah36
ID: 37880219
Thank you so much it solves the problem in efficient way.

Regards
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question