Error for the fact table while processing the cube - attribute key cannot be found when processing

Please help as I am new to SSAS and this is urgent requirement. This is a MOLAP cube and below is the error that I am receiving when processing the cube. The cube is set to Prrocess Full. Several similar errors are popped up for various dimensions.
"Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'Fact_Table', Column: 'ID', Value: '1'. The attribute is 'Id'. Errors in the OLAP storage engine: The attribute key was converted to an unknown member because
the attribute key was not found. Attribute Id of Dimension: 17 - Ves - PoC Cont from Database: DB, Cube: IPNCube, Measure Group: iSrvy, Partition: Partition1, Record: 1."
Thanks in advance.

Thanks for the recommendations David.
It will be really great if you can clear some of my doubts:
To my information, all the dimensions need to be processed first and then the fact table will be processed.
So if the ID's are not present in the dimension tables, then it should not be present in the Fact table either.
Here we found null values in the dimension table and the ID's were present in the Fact table. What might be the reasons causing such situation?
Also how frequently the cube needs to be processed? Currently the ETL which processes the cube, is scheduled in a SQL Job Agent on hourly basis everyday. 
Is there any possibilty that the cube might be under processing state and the SQL job for the next run getting executed trying to access and process the cube while it was still processing?

Similar Messages

  • Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: performance_fact

    Hi
    We are using SSAS 2008 r2 and have a cube on our data warehouse, this has been running fine for quite a while now.
    However it failed yesterday with the error message:
    Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 
    'Performance_Fact', Column: 'accountexternalId', Value: '9474'. The attribute is 'External Id'."
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation." 
    An error occurred while processing the '2011' partition of the 'Fact' measure group for the 'DB' cube from the DB database.
    Please can someone help me to resolve the error, I don't understand what it means.
    Thanks

    Hello,
    The error means that you have a key in the fact data which don't exist in the related dimension. Ensure that the dimension is also processed so that it contains all used keys.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Errors in the OLAP storage engine: The attribute key cannot be found when processing

    this is the absolute worst error message in all of computing.  I despise it.  Here is my situation.
    SSAS 2008 R2.
    I have one dimension.  I have not even built my cube yet.  only a dimension.  I am trying to process it.  I can process it when I only have a single attribute, they key.  it is a composite key.  When I add a new attribute (integer),
    I get the error message.  There are no null values.  There are no blanks as its an integer. 
    The attribute key cannot be found where?  I'm processing the dimension you idiot.  there is not even a cube yet in order for any key to be found or not.

    Hi Baracus,
    According to your description, you get the error "Errors in the OLAP storage engine: The attribute key cannot be found when processing" when processing your cube, right?
    Generally, the detail error message should like
    Table: 'dbo_FactSales', Column: 'ProductID', Value: '1111'. The attribute is 'Product ID'
    The above error explains that the fact table named "FactSales" contains column ProductID with value "1111" but the same  ProductID  is not present in your dimension table. There is a primary key - foreign key relationship exist
    between the ProductID column of dimension table and fact table named "FactSales" and cube is unable to find ProductID with value 1111 in the dimension table.
    At this time, what we need to do is to check either your dimension and fact table contains the value mentioned in the error message (  Value: '1111' in the above example). Here are some links about troubleshoot this issue, please see:
    http://www.businessintelligence-solutions.com/ssas-typical-error-attribute-key-processing/
    http://www.youtube.com/watch?v=5O7IAjvtAF4
    If this is not what you want, please provide us more information about you issue, so that we can make further analysis.
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • TIME dimension processing fails saying "..attribute key cannot be found.." in EPM 10

    After upgrading from version 7.5 to EPM 10, when we ran a ‘Full Process’ on the TIME dimension, it ran into an error saying “Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo_tblFactCapEx', Column: 'TIMEID', Value: '20090013'. The attribute is 'Time_TIMEID'.  (1/13/2015 2:41:02 PM)”.
    Full error message is attached herewith – ‘Time Dimension Error.txt’
    After researching, we did discover that MONTHNUM needed to be converted to BASE_PERIOD. Re-processed which produced the same error.
    Prior to migration to version 7.5, we ran a full process on TIME dimension there. It completed successfully, confirming the issue is only with version 10.
    Confirmed we could see the TIMEID value of 20090013 in the following places:
    Time Dimension in the appropriate TIMEID attribute column.
    Confirmed mbrTIME table had base member ID with TIMEID attribute filled out correctly.
    Data in tblFactFINANCE could be pulled using that TIMEID
    We truncated all the records in all the fact tables associated to this TIME dimension.
    Eventually, when none of the tables had any records, the TIME dimension then processed successfully.
    We this began to suspect the issue may not really be related to bad records.
    We conducted one more test to confirm this.
    Using an input form in EPM 10, we manually entered data in one of the models (at this point none of the fact tables have any records)
    Ran Full Optimize on that model with Compress Database and Index Defragmentation checked – This step failed with the error attached in ‘MatrixRateFullOptimize.txt’
    Ran Full process on Time Dimension – Failed indicating issue with TimeID 2012001 (that’s my manual entry). Attached error report ‘TimeDim Error MatrixRate.txt’
    At this point, the table only contains the manually entered records (no suspected bad records)
    We then suspected there could have been an issue with the upgrade process.
    So we reprocessed all the dimension and optimized all the models in version 7.5, made a new backup and restored it to version 10.
    The issue still persisted!
    At this point, we have tried all the possibilities we could think of. Each time the fact table is populated with records, the TIME dimension process fails indicating ‘the attribute key’ cannot be found.
    There is probably something in the OLAP partition that is not able to link the dimension attributes to the cubes.
    Additional Information:
    Please find attached the existing Time Dimension – TimeDimensionMembers.xlxs
    Version of Excel used: Excel 2007, SP3 MSO (12.0.6683.5000)
    System Specs: Please see screenshot below.

    Thank you all for responding! This issue is resolved.
    Here’s what the issue was:
    The time structure is TOTAL >> Years >> Quarters >> Months (e.g. T.ALL >> 2012.TOTAL >> 2012.Q1 >> 2012.P01)
    As shown in the screenshot below, the LEVEL for ‘T.ALL’ member was set to YEAR, which is incorrect (we can’t have Year rolling up to a Year)
    We changed the LEVEL to ‘TOTAL’ and this fixed the issue!!
    If only it gave a better error message than the “..attribute key not found” message

  • Attribute key cannot be found : Data present but not processed

    Hi there,
    I know this question has been ask several time and I went through a lot of proposed solution but none were successful in my case. My cube processed successfully for month but now I have the following error :
    Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'EventMember', Column: 'Id', Value: '22560966'. The attribute is 'Id'.
    To explain my case here what I've got.
    A dimension [Member Unique] where there is a bigint Id and some attributes. The only defined attribute in the dimension is Id.
    When I process fully this dimension the query issued by SSAS to SQL (using the profiler) is the following :
    SELECT
    DISTINCT
    [dbo_Member].[Id] AS [dbo_MemberId0_0]
    FROM [dbo].[Member] AS [dbo_Member]
    I verified that the Id 22560966 is present in the table and in the resulting set and that is the case.
    Then I have the measure group EventMember based on a named query doing the following :
    SELECT Id
    FROM dbo.Member AS m
    WHERE EXISTS
    SELECT 1 AS Expr1
    FROM dbo.Event AS g INNER JOIN
    dbo.MemberHistory AS h ON h.Id = g.MemberId INNER JOIN
    dbo.MemberVersion AS v ON v.HistoryId = h.Id
    WHERE (v.AntvoiceMemberId = m.Id)
    This query returns also the row 22560966.
    When I process fully the measure group EventMember the query issued by SSAS is :
    SELECT [EventMember].[EventMember0_0] AS [EventMember0_0],[EventMember].[EventMemberId0_1] AS [EventMemberId0_1]
    FROM
    SELECT 1 AS [EventMember0_0],[Id] AS [EventMemberId0_1]
    FROM
    SELECT Id
    FROM dbo.Member AS m
    WHERE EXISTS
    SELECT 1 AS Expr1
    FROM dbo.Event AS g INNER JOIN
    dbo.MemberHistory AS h ON h.Id = g.MemberId INNER JOIN
    dbo.MemberVersion AS v ON v.HistoryId = h.Id
    WHERE (v.AntvoiceMemberId = m.Id)
    AS [EventMember]
    AS [EventMember]
    And it crashes during the process giving me the above error.
    I did try to allow missing key attribute error in the process option, and it ran successfully. It allowed me to issue an MDX statement on my cube to check if the dimension member was present. And it was not the case. Hence the error I think. The MDX statement
    was :
    SELECT [Member Unique].[Id].&[22560966] on 0
    FROM MyCube
    The the final question would be : Why this member which is returned by the SQL query is not present in my dimension ?
    I tried deletiong my cube it did not changed a thing. A noticeable thing is that the faulty attributes key are the same every time.

    Hi RodolpheAV,
    The error means SSAS could not find a record in the dimension table [table name] where column [column name] contained value [value]. For more information, you can look into the following articles:
    Error messages when you try to process a database or a cube in SQL Server 2005 Analysis Services: "The attribute key cannot be found" and "The record was skipped because the attribute key was not found:
    http://support.microsoft.com/kb/922673
    SSAS Quick Reference: Attribute Key Cannot Be Found:
    http://www.ssas-info.com/analysis-services-articles/66-mgmt/1963-ssas-quick-reference-attribute-key-cannot-be-found
    TechNet Subscriber Support
    If you are TechNet Subscription user and have
    any feedback on our support quality, please send your feedback here.
    Regards,
    Bin Long
    TechNet Community Support

  • Errors in the OLAP storage engine: A duplicate attribute key has been found when processing

    Hi dear MSDN Community,
    I am facing a problem while processing a cube with a customer hierarchy as follows:
    Global Account --> Main Customer --> Master Customer --> Customer
    The data comes from a flatted parent child table, that is, I create an extra column for every level of the hierarchy in the customer view. If a level is empty, then the value is filled with the previous value. Then I can use the property:
    HideMemberIf = OnlyChildWithParentName for the intermediate levels (Main and Master Customer)
    HideMemberIf = ParentName For the leafs (Customer)
    HideMemberIf = never for the root (Global Account)
    Consider this example:
    Then, for the root level I am using as the key the fields in yellow in order to avoid duplicates. However, I am getting the error message "Errors in the OLAP storage engine: A duplicate attribute key has been found when processing" while processing.
    I analyzed the query that SSAS issues to the server (select distinct ....) and I think it should work but it is still failing.
    I had similar problems with the intermediate levels but I was able to solve it using a similar procedure.
    Any help will be appreciated.
    Kind Regards.

    When are you having this error? While processing the dimension or during cube processing?
    http://blog.oraylis.de/2013/08/a-duplicate-attribute-key-has-been-found-during-processing-revisited/
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • An installation package for the product Solution Center cannot be found

    I have had my printer for a while but all of a sudden when I sign on, I keep getting, an installation package for the product Solution Center cannot be found. Not sure why I am having the issue now, any ideas?

    knokdawg wrote:
    Printer - HP Officejet Pro 8000 wireless
    Connection - USB
    OK...  what operating system?  You can download the full featured drivers for supported operating systems from HP here.  Select the appropriate operating system, then download the full featured driver.  Run the program after downloading it.  Do not connect the USB cable until instructed to by the installer program.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Error when build cube - A duplicate attribute key has been found when processing...

    Hi all,
    I got an error “Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table…” when built new cube. It looks strange in my case. I created a small example to re-produce this error as below:
    I create a data source table as below
    AgencyName(varchar(50))-----MediaSpend(float)
    OE------------------------------------100
    Œ-------------------------------------200
    Then I create a cube base on this data source with a dimension AgencyName and 1 Measure MediaSpend.
    The error happened again. This look link a special case when ‘OE’ and ‘Œ’ existed in a dimension.
    Do you have any ideas on this?
    Thanks,

    Hi khoana,
    Here is a similar thread about this topic for your reference, please see:
    A duplicate attribute key has been found when processing:
    http://social.technet.microsoft.com/Forums/en-US/sqlanalysisservices/thread/7c72639b-a050-4243-9f1d-4da906e981d5/
    Regards,
    Elvis Long
    TechNet Community Support

  • A duplicate attribute key has been found when processing

    Hi
    When I process one of my dimensions it fails and I get the following error:
    Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'Customers', Column: 'DisplayName', Value: 'Stephen Grant'. The attribute is 'Display Name'.
    I don't know if this is significant, but the attribute to which it is making reference was added through BIDS 2008 (the cube was originally created with BIDS 2005). 
    There are no duplicates of 'Stephen Grant' in the DisplayName column. Not that it should matter if there were as this attribute has a cardinality of Many, with an rigid attribute relationship directly to the dimension's key attribute. The Key column for the Display Name attribute simply refers back to the same (DisplayName) column in the table.
    If I delete this record, or even just update the DisplayName field from 'Stephen Grant' to something else, the dimension processes just fine. I can't work out what it is about this record that is stopping the dimension from being able to process.
    Can anyone help me figure out what's going on?
    Julia.
    P.S. I am using SSAS 2008 on Windows Server 2008

    Hello there,
    Does anybody has the complete resolution for duplicate entries data. I am showing the data below .
    RegionName
    BranchName
    LoanOfficerFullName
    PRIME - TEAM NORTHEASTERN
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM WESTERN
    RENO-DAMONTE RANCH
    VINCENT LOTITO
    PRIME - TEAM WARTON
    NEWARK (Chicago)
    CHRISTOPHER CLIFTON
    PRIME - TEAM WARTON
    GRAND HAVEN (West Michigan)
    SEAN  FOLEY
    PRIME - TEAM SALMANS
    LAWTON (Amarillo)
    THOMAS  STEARNS
    PRIME - TEAM BARTON
    CALIFORNIA
    ALONA  HAYES
    PRIME - TEAM ROBINSON
    LAS VEGAS
    ANGELA DEATON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    HERMAN  VANDER VELDT
    PRIME - TEAM ROBINSON
    LAS VEGAS
    DAWN ROBINSON
    PRIME - TEAM ROBINSON
    LAS VEGAS
    MICHAEL  BIRK
     Here i have the Hierachies in order LoanOfficerFullName-->BranchName-->RegionName. Loan Officer is the lowest level. I had created another column and make that unique entries so that I could make the unique column as the Key and the hierachies i have linked with the key column value. The issue
    is that i am getting the expected result in OLAP  from data side. But the data is not getting aggregated like Team Barton is coming twice though for the Dimension I make IsAggregatable property to True. If anybody can help me I will aprecciate. If any other clarification need I can provide.

  • HT204150 Getting error message ("The set of folders cannot be opened") when clicking on "iCloud' folder in Outlook 2007. Lost contacts and calendar in outlook 2007 while installing icloud.

    Vista + Outlook 2007 + Icloud : Lost all contacts and calendar in outlook when installing/Synchronizing iCloud. Both still available on iphone and iCloud.
    How to get them back in Outlook? Understand iCloud erased them and transferred them in an other outlook account. In Outlook 2007, I can see a folder called "iCloud" but get an error message ("The set of folders cannot be opened...") when clicking on it. I suspect all is there, but no access possible. I assume some Outlook settings are uncorrect, but wonder which settings...?

    Well. Working just fine now, since uninstalling and re-installing icloud and syncing.

  • Getting error message "the requested item could not be found" when trying to install Firefox on my android.

    I had to uninstall Firefox for Android because I was having problems logging in to sync. I got a support e-mail to uninstall and reinstall because the sync issue had been fixed. I uninstalled the Firefox app and then when I tried to reinstall it I get the error message on my phone "the requested item could not be found." HELP!

    Some supported phones are not displaying Firefox in the Market for some reason. We're still investigating this. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    and then download the app directly from here:
    http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/4.0b3/android-r7/multi/
    (Note: If your phone is from AT&T, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • "There was an error opening the pdf. File cannot be found" Message

    I am creating an Adobe PDF file using Save As in FrameMaker 7.0. (I have Acrobat Standard 8). The PDF creates fine, but I used to get the pdf to immediately/automatically open. Now I get the message "There was an error opening the pdf..."
    I did select the option to automatically open the pdf in File > Preferences but it doesnt do it, Any suggestions?
    Thanks.
    Beth

    Hi John Paul,
    Do you get any error code associated with this error message.
    Does this happen with other pdf files too or with that specific pdf?
    In case it happens with that specific pdf, please get another copy of that pdf because the current copy might have got corrupted.
    Regards,
    Rahul Tyagi

  • I need help every time my iTunes library updates i get this error messege: The iTunes.itl file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder. but the file should be there.

    Every time I have to upgrade iTunes it gives me this messege:'The default location for this file is in the "iTunes" folder in the "Music" folder.' the file should be there but I don't understand why it does this every time Apple upgrades the Itunes library. Its on the computer somewhere but it only affects this login on my computer (meaning on this Windows Account). Why does my iTunes do this? Then I have to spend hours placing all my libraries back together and all my music back into the library. Which usually takes me a few days to sort all out. What is wrong with my iTunes? The iTunes folder is a folder in my Music folder where I store the iTunes music/files/libraries at on my computer so I can have all of the iTunes files in one place on my computer.

    I have a Windows 7 operating system my computer runs from.

  • SBO Mailer Error - The specified resource type cannot be found in the image file

    Hi Experts,
    I have created an alert in SBO and selected email and internal option for same. I get internal message however email is not getting delivered, I checked the Event Viewer of Windows and below error is shown for SBOMail.
    The description for Event ID 62 from source SBOMail cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Failed to mark records error [-1]
    The specified resource type cannot be found in the image file
    I can send email from sbo for other documents but the alert is not delivering email.
    Please advise.
    Thanks
    Deepak

    Hi Deepak..
    Check with these threads...
    http://scn.sap.com/thread/966957
    http://scn.sap.com/thread/1295818
    SBOMail Application log error
    SBOMail error in event log
    Hope Helpful
    Regards
    Kennedy

  • I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder.

    I just upgraded my mac book to 10.6.8 and downloaded the new version of itunes. When I try to open it and error message appears saying, "The iTunes Library file cannot be found or created. The default location for this file is in the "iTunes" folder in the "Music" folder."
    I have tried a few things but iTunes closes right after i click okay. Anyone know anything?

    Look in your Home > Music folder.  There should be an iTunes folder there and it should have a number of files and folders including one called library.itl  You want to guide iTunes to that file.  If you don't see that file or folder then in your next post you will have to be very specific as to what you do see or how you have your iTunes set up because that's where it should be according to default settings.

Maybe you are looking for

  • How to Launch a PDF on Webgui

    Dear Experts: What I am trying to do is to convert PO smartform to PDF file and then launch the PDF file in a new window on Webgui. I am using function BBP_OUTUT_PO_PREVIEW_SMART, in which the function BBP_ALEWEB_DOWNLOAD is invoked. This program has

  • GRC 10 EAM authentication error while login to firefighter

    Hi, User raised EAM access request and it is approved in all the stages. When he is trying to login to use EAM, it is giving logon option and asking to enter return code and when he continue after giving return code,it is showing authentication page

  • Variables in VO Query for Sql Server

    I create my VO working with sqlServer: Select fa_movimientos.invnum      Secuencia, fa_productos.codpro      CodigoProducto, fa_productos.despro      DescripcionProducto, fa_movimientos_detalle.qtypro CantidadCaja, fa_movimientos.codprv codproveedor,

  • PaintBrushes. Too many, I'm going crazy!

    I make Brushes and I get them from deviantart. I love them and use ALOT of them and have maybe, wild guess, about 3000ish... or some horrible number like that, so when I go thru them its really slow and tedious. Id there a way I don't know about to s

  • Downloading Lightroom 4 and Adobe Creative Suite 5.5

    Getting new computer without disc drive. I have Lightroom 4 and Adobe Creative Suite 5.5. Can I download these to install on new computer? I have discs for Creative Suite but the LR was downloaded originally so I don't have the disc. In the past, Ado