Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola chicos
gracias de antemano por su ayuda
Necesito el porcentaje de crecimiento o disminución de un mes a otro, el problema aparece cuando el stock del mes anterior es 0, no calcula bien, me puede ayudar gracias
_PREV M 9l ?
CALCULATE(SUM('STOCKS ES FERT'[9L]);
PREVIOUSMONTH('FiscalCalendar II'[Fecha]))
_STOCK 9L - SUMX ('STOCKS ES FERT';
«STOCKS ES FERT»[9L])
_% PREV M 9l ?
IF(SUM('STOCKS ES FERT'[9L])>0;
DIVIDE(SUMX('STOCKS ES FERT';[ _STOCK 9L]);
CALCULATE(SUM('STOCKS ES FERT'[9L]);
PREVIOUSMONTH('FiscalCalendar II'[Fecha])))-1)
Solved! Go to Solution.
Trate como
DIVIDE ([_STOCK 9L]-[_PREV M 9l]); _PREV M 9l])
El mes anterior es 0, por lo que el % de aumento es infinito 2/0
Trate como
DIVIDE ([_STOCK 9L]-[_PREV M 9l]); _PREV M 9l])
Hola
gracias por su ayuda
su fórmula corrige parcialmente el error, ok el porcentaje erróneo desaparece,
pero debería proponer un porcentaje de crecimiento stock anterior mes 0 stock actual 2 porcentaje de aumento + 200%, no ?
Gracias
El mes anterior es 0, por lo que el % de aumento es infinito 2/0
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |