Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Duplicate attribute key in date Dimension

$
0
0

Hi,

I have created a date dimension using this code

http://www.codeproject.com/Articles/647950/Create-and-Populate-Date-Dimension-for-Data-Wareho

It contains one attribute 'Month'

I have created one fact table which contains the following dates


  1. StartDate
  2. EndDate
  3. CreationDate
  4. CompletionDate
  5. AssignedDate
  6. ReceivedDate
  7. ActualStartDate
  8. AcutualEndDate
  9. DecisionDate

I have created a relationship with date dimension created by using above code. Relationship of above attributes have been created with DimDate.Date attribute. I have not created Calendar Hierarchy yet. 

When I am processing the cube I am getting the following error

Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dim_Date', Column: 'Month', Value: '10'. The attribute is 'Month'.

In date dimension have data from 1990 to 2050. so Month is being repeated for each year. I am not sure Why am I getting this error.

Any Help much appreciated.


MH


Viewing all articles
Browse latest Browse all 14337


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>