SSAS Dimension Settings

  • I have a table with Data as

    EmployeeID EmployeeType Department

    1 Permanent HR

    2 Permanent Sales

    3 Permanent Marketing

    4 Part-Time Customer Services

    5 Permanent Finance

    When I create EmployeeType dimension, I set the attribute for Key as EmployeeID and Name as EmployeeType. But I get the results for the dimension as:

    Permanent

    Permanent

    Permanent

    Part-Time

    Permanent

    This is occurring because I have used the Key as EmployeeID instead of EmployeeType. I can always go back and change the Key column to be EmployeeType and Name column to be EmployeeType.

    But, is there any other way of removing the duplicate attribute values by configuring the settings and still able to optimize the dimension (Note: primary Key is on the EmployeeID column)

  • So you want a dimension just about EmployeeType?

    Then indeed set the key to EmployeeType and the name also.

    Discard the rest - EmployeeID and Department - as they have a lower grain then the dimension you want to create.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply