Hi, i need to select all Members from a dimension in rows if the user select all in parameters and im trying to do that with the query below.
It doesn't seem to work.


Code:
WITH
MEMBER [Measures].[Conf. sin incidencias] AS
    Round(([Measures].[Confirmaciones totales] - [Measures].[Conf. con incidencias]),2)
SET [~ROWS] AS
    IIF({${Operacionalparameter}} = '[Direccion Operacional.Direccion].[Direcciones]',{[Direccion Operacional.Direccion].[Direccion Operacional].Members},{${Operacionalparameter}})
SELECT
NON EMPTY {[Measures].[Confirmaciones totales], 
[Measures].[Rechazos], 
[Measures].[Conf. con incidencias de linea], 
[Measures].[Conf. con diferencias de cantidad], 
[Measures].[Conf. con retraso], 
[Measures].[Problemas transporte o indumentaria], 
[Measures].[Problemas etiquetado], 
[Measures].[Problemas temperatura], 
[Measures].[Problemas lote], 
[Measures].[Problemas caducidad], 
[Measures].[Diferencias precio], 
[Measures].[Conf. sin incidencias]}  ON COLUMNS,
NON EMPTY [~ROWS] ON ROWS
FROM [ConfirmacionesAlbaran]
Thank you.