MDX partial sums using cross join

  • Hi, I'm trying to using this MDX query to get partials sums by region, cities and proyects (first image),

    but unfortunately I get this (second image).

    This is the right approach? How I can remove the red regions (second image)?

    Thanks in advance.

    WITH

    MEMBER [Measures].[PLAN] AS ([Dimension - Proyecciones].[Proyección].&[12],[Measures].[VPE - Escrituraciones])

    SELECT

    {

    [PLAN]

    }

    ON COLUMNS,

    NON EMPTY

    (

    (

    (

    EXCEPT([Dimension - Proyectos].[Región - Alias].children,[Dimension - Proyectos].[Región - Alias].[All].UNKNOWNMEMBER)

    ,[Dimension - Proyectos].[Ciudad].members

    )

    ,[Dimension - Proyectos].[Proyecto].members

    )

    )

    ON ROWS

    FROM [BIGS - vivienda]

    WHERE

    (

    [Dimension - Línea de Tiempo].[Calendario].[Mes].&[2.01309E3] --september, 2013

    )

    desired result

    current result with red regions that I'm trying to remove

    making simple things simple, making complex things possible

Viewing 0 posts

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