I am making a sales cube for a bank, I need to do a query with this Dimensions DimTiempo
, DimCliente
, DimCuenta
I need to find the number of customers who are in DimCuenta
attribute [DimCuenta].[Planes].[Cue Nombre Plan]
with value 'APORTES SOCIALES' And besides having another record in the DimCuenta
with the attribute [DimCuenta].[Cue Codigo Aplicacion]
with value 'L'
also need to include in the result hierarchy [Ano Mes]
of DimTiempo
, I don't know to do this because I Don't know how to do an In or a subquery in MDX,