Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Análisis de varianza

Tengo a continuación la tabla de "valores":

Cuenta

ClienteLínea de servicioOps GeoañoPeríodoEscenarioFuente de datosMonedaMedidadirectorRvp[Valores]ColorTotal de RDAValor CORIngresosValor de ingresosSgaValor SGA
1000100FinanzasOshkosh20201PresupuestoEntradaUsdValorAbsDgs400 Ingresos0Ingresos400 0
1000200ContabilidadRegina20202PresupuestoEntradaUsdValorAbsDgs400 Ingresos0Ingresos400 0
1000100esoOshkosh20203PresupuestoEntradaUsdValorAbsDgs400 Ingresos0Ingresos400 0
2000200FinanzasRegina20204PresupuestoEntradaUsdValorAbsDgs200ColorColor200 0 0
2000100ContabilidadOshkosh20205PresupuestoEntradaUsdValorAbsDgs100ColorColor100 0 0
2000200esoRegina20206PresupuestoEntradaUsdValorAbsDgs200ColorColor200 0 0
3000100FinanzasOshkosh20207PresupuestoEntradaUsdValorAbsDgs100 Sga0 0Sga100
3000200ContabilidadRegina20208PresupuestoEntradaUsdValorAbsDgs200 Sga0 0Sga200
3000100esoOshkosh20209PresupuestoEntradaUsdValorAbsDgs100 Sga0 0Sga100
1000200MarketingRegina202010PresupuestoEntradaUsdValorAbsDgs200 Ingresos0Ingresos200 0
1000100FinanzasOshkosh20201ActualEntradaUsdValorAbsDgs500 Ingresos0Ingresos500 0
1000200ContabilidadRegina20202ActualEntradaUsdValorAbsDgs500 Ingresos0Ingresos500 0
1000100esoOshkosh20203ActualEntradaUsdValorAbsDgs300 Ingresos0Ingresos300 0
2000200FinanzasRegina20204ActualEntradaUsdValorAbsDgs200ColorColor200 0 0
2000100ContabilidadOshkosh20205ActualEntradaUsdValorAbsDgs200ColorColor200 0 0
2000200esoRegina20206ActualEntradaUsdValorAbsDgs100ColorColor100 0 0
3000100FinanzasOshkosh20207ActualEntradaUsdValorAbsDgs200 Sga0 0Sga200
3000200ContabilidadRegina20208ActualEntradaUsdValorAbsDgs100 Sga0 0Sga100
3000100esoOshkosh20209ActualEntradaUsdValorAbsDgs200 Sga0 0Sga200
1000200MarketingRegina202010ActualEntradaUsdValorAbsDgs100 Ingresos0Ingresos100 0

Creé las siguientes medidas:

Ingresos: sum('values'[Valor de ingresos])
SGA - SUM('values'[SGA Value])
COR á sum('values'[COR Value])
EBITDA en blanco: calculate([EBITDA], filter('values',[EBITDA]<>0))
Variación: calculate([EBITDA], filter('values',[EBITDA]<>0),filter('values','values'[Scenario] ? "Actual")) - calculate([EBITDA], filter('values',[EBITDA]<>0),filter('values','values'[Scenario] ?
Estoy intentando mostrar Real, Presupuesto y la varianza (presupuesto real) en una visualización de tabla de matriz.
Obtengo las siguientes tablas cuando uso Ebitda en blanco y Varianza:

Power BI.PNG

¿Cómo puedo crear una tabla que muestre EBITDA como?:

Power BI 2.PNG

3 REPLIES 3
parry2k
Super User
Super User

@ShriHanuman Creo que debería ser algo como esto, añadir la siguiente medida y poner en matriz visual.

Base Sum = SUM ( Table[Amount] )

Actual = CALCULATE ( [Base Sum], Table[Scenario] = "Actual" )

Budget = CALCULATE ( [Base Sum], Table[Scenario] = "Budget" )

Variance = [Actual] - [Budget]

Me gustaría elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

@parry2k , gracias por la respuesta.

He modificado tu solución para obtener la respuesta.

Estoy buscando el número EBITDA que es Ingresos - Gastos (suma de COR y SGA) .

Mi ecuación:

EBITDA real: calculate([EBITDA], filter('values',[EBITDA]<>0),filter('values','values'[Scenario] á "Actual"))
EBITDA de presupuesto: calculate([EBITDA], filter('values',[EBITDA]<>0),filter('values','values'[Scenario] á "Budget"))
Desviación de EBITDA [EBITDA real]-[EBITDA presupuestario]
Esto me da el resultado. El único problema es que si tengo que estimar la varianza para Ingresos,COR y SGA por separado tendría que escribir 9 ecuaciones más. ¿Hay una manera fácil de obtener todo el análisis de varianza con codificación mínima?

@ShriHanuman

Usted puede tratar deISINSCOPEpara cambiar el total.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.