Forum Discussion
Error nulo de tipo operando
@WSMikey , ¿dónde está la suma aquí?
Pruebe como
Current_Period_Budget =
VAR Período = mes(maxx(allselected('Fecha'), 'Fecha'[fecha])
DEVOLUCIÓN
if(RELACIONADO(GLAMF[ACCTBAL]) = "2", -1,1) *
Interruptor (Punto,
9,GLAFS[NETPERD1],
10,GLAFS[NETPERD2],
11,GLAFS[NETPERD3],
12,GLAFS[NETPERD4],
1,GLAFS[NETPERD5],
2,GLAFS[NETPERD6],
3,GLAFS[NETPERD7],
4,GLAFS[NETPERD8],
5,GLAFS[NETPERD9],
6,GLAFS[NETPERD10],
7,GLAFS[NETPERD11],
8,GLAFS[NETPERD12])
Hola @amitchandak , gracias por la rápida respuesta!
Me preguntaba lo mismo sobre la Suma: no está en la fórmula. Lo único que se me ocurrió es que de alguna manera, ya que estoy usando Direct Query a la base de datos SQL, estaba surgiendo de allí.
Probé la solución anterior, y las variaciones de la misma, sin embargo, MAXX no se entiende en la barra de fórmulas. Nota: estoy creando la columna directamente en la interfaz de PowerBI en lugar del editor de Power Query, si eso importa.