Hello!

I'm experiencing some issues while trying to modify the following expression. I hope guys you can help me

Formula: copy to clipboard
=CUBEMEMBER("ThisWorkbookDataModel";{"[d_grupos_mayores].[nomb_grupo_mayor].&[TOTAL GASTOS]"\"[d_grupos].[nomb_grupo].&[GASTOS DE ADMINISTRACIÓN]"\"[d_subgrupos].[nomb_subgrupo].&[COMISIONES TARJETAS DE CRÉDITO]"\"[auxiliar].[Nombre Pers2.].&[COMISIONES TARJETAS DE CRÉDITO]"})


What I need to do is change the very last argument, "[COMISIONES TARJETAS DE CRÉDITO]", for a cell reference like "A1". In order to do that I've typed this:

Formula: copy to clipboard
=CUBEMEMBER("ThisWorkbookDataModel";{"[d_grupos_mayores].[nomb_grupo_mayor].&[TOTAL GASTOS]"\"[d_grupos].[nomb_grupo].&[GASTOS DE ADMINISTRACIÓN]"\"[d_subgrupos].[nomb_subgrupo].&[COMISIONES TARJETAS DE CRÉDITO]"\"[auxiliar].[Nombre Pers2.].&["&$A1&"]"})


... and got a syntax error. Can you please tell me how to write the formula correctly?

Thank you very much!