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
maumau
New Member

Calcular la previsión dinámica utilizando datos históricos

Hola

Por favor, discúlpeme por resumir y usar un formato incorrecto en este mensaje - ¡Soy nuevo en esto!

(No se trata de la característica de previsión integrada en las visualizaciones de Power BI)

Estoy tratando de determinar cómo crear una medida de previsión que se construye fundamentalmente de esta manera:

pronóstico ($) - total de oportunidad ($) x cierre % x distribución de edad %

El total de oportunidades es una medida de suma fácil.

Close % es un cálculo de división fácil.

La distribución de la edad es una mesa, y aquí es donde sano de mi experiencia. En Excel, esto es fácil de usar sumproducts, pero es estático.

La distribución de la edad es una tabla que se ve así durante 18 meses:

*Tenga en cuenta que el mes sería el número de meses a partir de hoy (o seleccionado actualmente). Es decir, un pronóstico para marzo es una parte de cada mes detrás de él.

MesEdad%
1.20
2.15
3.11
4.08
5.06
6.04

Me gustaría poder calcular virtualmente la siguiente tabla:

*Ver nota anterior - meses pueden ser considerados números negativos

MesEdad%Cerrar%Opp TotalVentas previstas
10.20.3$1,000$60
20.150.3$800$36
30.110.3$1,100$36
40.080.3$900$22
50.060.3$750$14
60.040.3$1,300$16
Total$183

El "total" que se muestra aquí sería el resultado de la medida. La tabla anterior sería virtual. Creo que tendría que:

  1. Definir variables
  2. Construir la mesa virtualmente
  3. Cálculos SUMX para cada fila (pronóstico: cierre% x opp total x edad %)

Estoy tratando de proporcionar suficientes detalles para la ayuda, pero no tanto que ahogue el núcleo de mi pregunta. Por favor, hágamelo saber si puedo proporcionar más detalles.

¡Muchas gracias a todos! Este foro ha sido muy instructivo.

1 ACCEPTED SOLUTION
v-diye-msft
Community Support
Community Support

Hola @maumau

Por favor, intente a continuación la medida:

Utilizo el [measureclose] y [measureopp] para representar la medida Close % y Opportunity total

Forecasted Sales = [Measureclose]*[MeasureOpp]*MAX('Table (3)'[Age%])

Entonces

SUMXForecast = SUMX(VALUES('Table (3)'[Month]),[Forecasted Sales])

06.PNG

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

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hola @maumau

Por favor, intente a continuación la medida:

Utilizo el [measureclose] y [measureopp] para representar la medida Close % y Opportunity total

Forecasted Sales = [Measureclose]*[MeasureOpp]*MAX('Table (3)'[Age%])

Entonces

SUMXForecast = SUMX(VALUES('Table (3)'[Month]),[Forecasted Sales])

06.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
parry2k
Super User
Super User

@maumau probar la siguiente medida

Forecast = 
SUMX ( 
VALUE ( MonthTable[Months] ), 
CALCULATE ( MIN ( Table[Age %] ) * CALCULATE ( MIN ( Table[Close %] ) * [Oppy Total Measure] 
)

Apreciaría Kudos 🙂 si mi solución me ayudara.



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.

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.