Hi Peter, change te code but the execute pivot display de same error:

The MDX used:

WITH MEMBER [Measures].[CondicionesContCompletaCalc] AS (     ISNULL([Measures].[CondicionesContCompleta], 0) ) SELECT NON EMPTY (     [Gerencia].Gerencia].[Gerencia] ) ON ROWS, NON EMPTY (     [Measures].[CondicionesContCompletaCalc] ) ON COLUMNS FROM [Condiciones]

The error displayed:

Error#5001: Expected  operator within tuple: ('SELECT' @pos 156)(2)