October 3, 2013 at 11:02 am
Hi, I'm trying to using this MDX query to get partials sums by region, cities and projects (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
October 6, 2013 at 11:26 pm
try this:
SELECT MEASURES.DEFAULTMEMBER ON 0,
NON EMPTY
{
GENERATE([Geography].[Country].[Country],[Product].[Category].ALLMEMBERS)
*[Geography].[Country].[Country] } ON 1
FROM [Adventure Works]
Raunak J
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply