Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7799385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:17:30+00:00 2026-06-02T00:17:30+00:00

I have a cube in SQL Server Analysis services 2008 that contains a time

  • 0

I have a cube in SQL Server Analysis services 2008 that contains a time dimension comprised of years and quarters. There is a separate YearQuarterID column as well.

The Quarter attribute (type Quarters) consists of integer values 1 – 4 for each year, as you might expect. Since this is not the key attribute for the dimension, the non-uniqueness shouldn’t be a problem, and in fact the cube builds cleanly.

Inspecting the properties for this attribute in BIDS 2008, I see that it does have a KeyColumns property. (Not sure what this means for a non-key attribute.) It says “DimYearQuarter.Quarter (Integer)”.

Now, I’m trying to retrofit this cube to SSAS 2005. I have a similar dimension, created from a similar relational database table with similar values. As far as I can tell, the properties for the attribute are identical in BIDS 2005, nevertheless, when I try to process the cube, I get the error:

Errors in the OLAP storage engine: The attribute key is a duplicate:
Table: dbo_DimYearQuarter, Column: Quarter, Value: 1.

I did notice that the Properties window in VS2005 doesn’t allow the KeyColumns property to be expanded. So I can’t drill down to compare details of the property between versions.

If the attribute is not a key for the dimension, why are duplicates a problem in 2005?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:17:32+00:00Added an answer on June 2, 2026 at 12:17 am

    Humm, this is unexpected. Usually 2005 lets you do things that 2008 doesn’t (duplicate key errors is one of them, believe me, I’ve been through this road)

    Regarding the key, it should be the combination of year-quarter, because quarter 1 appears in more than one year.

    Answering your Not sure what this means for a non-key attribute comment, every attribute has a key, even though it isn’t the Dimension’s key. The key (on the attribute) will indicate how the SELECT DISTINCT query will be built to get the dimension’s members

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an analysis services cube in SQL server 2005 which I'm connecting to
Am making a cube in SQL Server Analysis Services 2005 and have a question
We are looking to build a cube in Microsft SQL server analysis services but
I have cube in Microsoft Analysis Services with several dimensionsions and measures. When I(in
I have a SSAS cube in which there is a measure that needs to
I have an SSIS package which contains an Analysis Services Processing Task. This package
I have a problem setting up email notifications in SQL Server 2008. I am
So I am modifying the Cube live wallpaper example. I have a class that
Have a SomeLib.pro file that contains: CONFIG += debug TEMPLATE = lib TARGET =
I have a fact [Orders], and a customer dimension [Customers]. There are three relationships

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.