Mdx produces repeated values for a measure and across measures

Posted by Joe on Stack Overflow See other posts from Stack Overflow or by Joe
Published on 2011-01-08T22:39:27Z Indexed on 2011/01/12 4:53 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

The MDX query below is giving me repeated measure values as shown in the result below the query. Sometimes it give me save valuea across different measures.

SELECT

            NON EMPTY { 

                            [Measures].[Amount], 




            } ON COLUMNS, 



            NON EMPTY { 

                            ( [Date_Time].[Date].[Date].ALLMEMBERS * [Date_Time].[Working Day].[Working Day].ALLMEMBERS ) } 

                            DIMENSION PROPERTIES 

                                            MEMBER_CAPTION, 

                                            MEMBER_UNIQUE_NAME 

            ON ROWS 

            FROM [DDS]
            where {[Date_Time].[Year].&[2010-01-01T00:00:00] }

Date working day Amount 2010-01-01 00:00:00.000 1 19582
2010-01-02 00:00:00.000 0 19582
2010-01-03 00:00:00.000 0 19582
2010-01-04 00:00:00.000 1 19582
2010-01-05 00:00:00.000 1 19582
2010-01-06 00:00:00.000 1 19582
2010-01-07 00:00:00.000 1 19582

How can I rectify these issues?

© Stack Overflow or respective owner

Related posts about query

Related posts about reporting-services