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

When I introduce a Date Hierarchy, SSAS Deployment Fails??

$
0
0

Hi All,

I am working with Adventure Works Dataset and developing some Cubes out of the dataset.

So far I have created project using BIDS ( SQL Server 2008 database ) and added two dimensions, i.e. Product and Date.

I can Build and deploy project with out any issues.

Then I thought of having a new Date Hierarchy as below.

DateKey ---> Month --->> Quarter --->> Year

DateKey is the Key column, properties are as below:

Name:Date

Type:Days

Usage: Key

Year Attribute......as below, Quarter and Month also same as year.

Name:year

Type:Years

Usage: Regular

After making these changes, when I try to deploy , it fails...giving below error message:

Warning    5    Errors in the OLAP storage engine: A duplicate attribute key has been found when processing: Table: 'dbo_DimDate', Column: 'CalendarQuarter', Value: '2'. The attribute is 'Quarter'.       0    0   

Appreciate all comments,

regards

Mira




Viewing all articles
Browse latest Browse all 14337

Trending Articles