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
Chedva
Helper II
Helper II

Cálculo de la producción según Pronóstico e Inventario

Hola

Tengo los siguientes informes de tabla en power BI:

Pronóstico:

Pronóstico (medida sumando previsión QTY)
Producto (de Matrix_Lookup tablaUbicación (desde Location_Lookup tabla)20 de mayoJunio-20Jul-2020 de agostoSep-20Oct-20Nov-20Dic-20Total
Producto AE.e.u.u2025303540455055300
Producto AChina405060708090100110600
Producto AFila2003004005006007008009004400
5300

Inventario:

Producto (de Matrix_Lookup tablaUbicación (desde Location_Lookup tabla)Inventario
Producto AE.e.u.u50
Producto AChina30
Producto AFila600
680

Necesito calcular la producción mensual de acuerdo con el pronóstico menos el inventario, pero en una tasa mensual - como sigue:

Producto (de Matrix_Lookup tablaUbicación (desde Location_Lookup tabla)20 de mayoJunio-20Jul-2020 de agostoSep-20Oct-20Nov-20Dic-20Total
Producto AE.e.u.u00253540455055250
Producto AChina105060708090100110570
Producto AFila003005006007008009003800
4620

¿Qué medida puedo usar?

Gracias

Chedva

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

@Chedva Necesitará una columna Fecha en la tabla Inventario, ¿cómo es el modelo de datos? ¿Tablas, columnas y relaciones por favor y la salida deseada?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
AllisonKennedy
Super User
Super User

@Chedva Necesitará una columna Fecha en la tabla Inventario, ¿cómo es el modelo de datos? ¿Tablas, columnas y relaciones por favor y la salida deseada?


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

amitchandak
Super User
Super User

@Chedva , ¿Cuáles son la estructura de datos sin procesar en power BI, Idealmente, con la dimensión de fecha y ubicación común, debería poder hacerlo

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.