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

Similar Messages

  • 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?

  • 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]

  • 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: 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

  • Attribute key cannot be found. Value 0 . eventhough set to unknown member

    Hi,
    I want to be able to set any null values in the fact foregin key to the dimensions unknown member.
    I have a dimension called agent , with UnknownMember = True and UnknowMemberName = No Agent. When I process my dimension, I see all my agents plus a No Agent member. (ErrorConfiguration = Default. I do not want to ignore errors ).
    In the cube dimension usage I've set null proccessing to unknown member.
    I have a rows on my fact table with NULL on the agentID and the Cube fails to process with this error (its changing NULL to 0):
    Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo_FactSales', Column: 'AgentId', Value: 0.
    I was expecting that, based on my configuration of the dimension, that the NULL row would be assigned to the unknown member of the dimension.
    What am I missing?
    (I know that I could have a Unknow record on my db and deal with it on the ETL process, but I would like SSAS to handle this situation. I already read 
    http://msdn.microsoft.com/en-us/library/ms345138.aspx is telling to do on the section "Referential
    Integrity Issues in Fact Table")
    I don't know if this is related but the fact value is taken from DSV query of:
    CASE WHEN Fact_table.[AgentId] IS NULL THEN NULL ELSE CAST(Fact_table.[AgentId] AS INT) END AS [AgentId]
    Your help appreciated
    Namnami

    Hi Namnami,
    Please refer to the following article:
    Defining the Unknown Member and Null Processing Properties:
    http://technet.microsoft.com/en-us/library/ms170707(v=sql.90).aspx
    Here is a related article about this error message for your reference:
    SSAS Quick Reference: Attribute Key Cannot Be Found:
    http://toddmcdermid.blogspot.com/2009/01/ssas-quick-reference-attribute-key.html#!/2009/01/ssas-quick-reference-attribute-key.html
    Regards,
    Elvis Long
    TechNet Community Support
    The worst part about these MSDN forums is that the Moderators seem to just want to mark an answer correct on every single question whether it's right or not, and if there is no answer they just mark their own answers as correct, even when it's as unhelpful
    as "Here's the same link to the article you've already read".

  • SCSM2012: Cube processing failing on two cubes - ConfigItemDimKey not found

    Hi
    Two of our cubes (SystemCenterSoftwareUpdateCube and SystemCenterPowerManagementCube) has started to fail processing lately. In ServiceManager they the error is just "failed", but in SSAS there is a lot of errors.
    Both cubes fails with the following error when SSAS processing them:
    "Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'ConfigItemDim', Column: 'ConfigItemDimKey', Value: '7200'. The attribute is 'ConfigItemDimKey'. Errors in the OLAP storage engine: The attribute key was converted
    to an unknown member because the attribute key was not found. Attribute ConfigItemDimKey of Dimension: ConfigItemDim from Database: DWASDataBase, Cube: SystemCenterSoftwareUpdateCube, Measure Group: ConfigItemDim, Partition: ConfigItemDim, Record: 7201. 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. Errors in the OLAP storage engine: An error occurred while processing the 'ConfigItemDim'
    partition of the 'ConfigItemDim' measure group for the 'SystemCenterSoftwareUpdateCube' cube from the DWASDataBase database."
    => My question: is it possible to recreate this ConfigItemDimKey manually (and how), or delete those cube and create them from scratch (back to oob status) ?
    Thanks.
    /Peter

    Hi Peter,
    We recently had similar issues with our ChangeAndActivityManagementCube. After a conversation with a Microsoft supporter I was able to work around that problem and so far it hasn't appeared yet.
    As you can read from the error message the issues appears when Analysis Services tries to process the ConfigItemDim measure group. During the processing it's looking up the corresponding dimension for attribute key. Now when the Measure Group
    is getting processed before the corresponding dimension is processed, it's possible that the attribute key doesn't exist in the dimension table yet and then this error occurs.
    What you have to do is the following:
    1. Process the dimensions manually using PowerShell and the following code (change the server address and SQL instance and execute it on the AS server):
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices") > $NULL
    $Server = New-Object Microsoft.AnalysisServices.Server
    $Server.Connect("YOUR_DW_AS_SERVER\DW_AS_INSTANCE")
    $Databases = $Server.Databases
    $DWASDB = $Databases["DWASDatabase"]
    $Dimensions = New-Object Microsoft.AnalysisServices.Dimension
    $Dimensions = $DWASDB.Dimensions
    foreach ($Dimension in $Dimensions){$Dimension.Process("ProcessFull")}
    2. Then process the affected measure group manually using the SQL Management Studio. You have to connect to the AS Engine, expand the DWASDatabase DB -> Cubes -> Measure Groups -> right click the affected Measure Group and select process ->
    leave the standard settings in the next window and press ok.
    You have to repeated step 2 for each Masure Group mentioned in the event logs.
    3. Now process the entire cube by right clicking the cube in SQL Management Studio and select Process. Now the processing should finish successfully.
    Since then the data warehouse cube processing jobs were working fine again too in our installation.
    Hope this helps.
    Cheers
    Alex

  • When exporting NEF files to JPEGs, LR says the files 'cannot be found'. What do I do? I have not moved or altered the originals.

    I'm attempting to create a slideshow for our 8th Grade Open House tonight and the files, which I shot in raw format, are not exporting properly into JPEGs via the Export button in Library. Every time I try, Lightroom says the files cannot be found. I've heard that many people have had issues with this because they have moved or altered the original files? As far as I know, I have not renamed and changed anything. Does it help to know that I first imported these raw photos from my camera reader onto an external hard drive? ...and yes, my external hard drive is plugged into my computer...

    ssprengel wrote:
    And if you go to Develop, and make your filmstrip thumbnails a little taller to make sure all the badges are shown, does a missing indicator show up, there?   Can you Export from Develop?
    If you click on the Photos that Failed to Export collection at the top right does the photo it highlight have a missing indicator?
    If you do a test export with just one photo, to your internal drive, does it work?
    I adjusted the height of the thumbnails. Still no exclamation points or question marks as noted here.
    Also, as to your second question, unfortunately no as noted here.
    And as to your last question, I have tried several times to export them to my desktop (which would be on my internal drive, not external). I've even gone so far as to put a copy folder of my original NEF files onto my desktop (7 gb worth) to see if that would help me export...it didn't.

  • 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.

  • 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

  • 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

  • My IPOD touch will not restore.  It says "IPOD device cannot be found".

    My IPOD Touch will not restore.  It says, "IPOD device cannot be found".

    - Try resetting the iPod;
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Next try placing the iPod in recovery mode and then retore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Then try placing the iPod in DFU mode and then restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Installed itunes and then cannot open says MSVCR80.dll cannot be found

    I downloaded itunes but cannot open. says MSVCR80.dll cannot be found. I have downloaded twice.

    Solving MSVCR80 issue and Windows iTunes install issues.

  • I tried to unistall itunes but when i do it says the filepath cannot be found what do i do?, i tried to unistall itunes but when i do it says the filepath cannot be found what do i do?

    Help!!!!!!!! i tried to update an older version of itunes but it says i have to remove previous versions so i try to do that and it says the file cannot be found what can i do?

    Try:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    If not usuccessful then post in the iTunes forum.

  • How do I uninstall iTunes if my PC continues to say "the path cannot be found?"

    How do I uninstall iTunes if my PC continues to say "the path cannot be found?"

    i think im getting this problem! ive got loadz of windows updates that wont update and i seen somewhere that that has something to do with why itunes wont download properly:/

Maybe you are looking for

  • I cannot see the option for face time of open and close in iphone 4s

    Plzzz tell me no facetime option for on and off is nott comming in settings help me plzzz

  • Ical wont show hours in any view

    I upgraded to Leopard and since then ical wont show me any hours and times... this happen only in my main user, when i log on as Guest or Root there is no problems... I've tried already to delete all the preferences, all calendars and even to reinsta

  • Hard Drive Crash and Desperate for Recovery Help

    Problem:  I have black and white JPEGS that need to be put back into color. We had a motor seize on a back up hard drive before getting the data backed up a second time.  I'm curious if there are any "backdoor" options for recovery.  Here is the scen

  • How to include .java file in all projects?

    Hi Friends, i have some questions related.... 1) i have a file .java with some great functions, this functions i need use in all projects, then what is the easy by moment i start a project, and copy this file to project..   is possible have only 1 fi

  • Can't turn off the touchpad using the double-touch gesture

    I just bought HP 1000-1b09AU Notebook PC. And I think the touchpad on/off (button?) is not working. I know how to turn on/off the touchpad, it is by doing double tap/touch on the turn on/off area of the touchpad. I don't know why it's not working, si