Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.