Skip to Content
author's profile photo Former Member
Former Member

New dimension in universe

Hi,

I'm new in Universe design and MDX.

I have Universe based on SSAS 2008 OLAP Cube.

There are objects like Client, Service,Date, Revenue

We have three kinds of services (let say s1, s2, s3)

We need a new dimension.

New dimension should show combination of active services for particular Client in particular date. It means that it should be equal "s1s2s3" when there is revenue for client and day from all services, be equal "s1" when therehere is revenue for client and day from s1 service, and so on...

Each record of data should have added a column with new dimension value:

s1, s2, s3, s1s2, s2s3, s1s3, s1s2s3 depending on revenue on services for Client and day

Is it possible to create a new dimension which fulfills such requirements?

How to do it?

Regards

MG

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 23, 2011 at 10:24 AM

    Hi,

    Define new dimension obj as Services_dim as

    Select Service from ******** where Revenue is not null ans Date in @variable('Date')

    By the above you will get all the values for the service for a praticular date n revenues are not null.

    Then try to concatenate those values of services using CONCAT function.

    Cheers,

    Suresh Aluri.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.