MEMBER [TipoInfo].[AVG] as 'IIF( set_days = 0, ( [TypeInfo].[Generado], [Periodos].[EKT].currentmember ), [TipoInfo].[Generado] / set_days )'
When I use the calculated member I get #ERR cells with description:
Infinite recursion detected during execution of calculated member set_days,
My goal is get average, but I don't understand what's the problem, maybe because I'm a newbie in MDX . I tried de avg function, transforming tha MEMBER TypeInfo.set_days in a Set but...with the same error.