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

SUPER CHALLENGE : (SOS) Fórmula de dax de rollover de inventario neto (total acumulado)

Hice dos maquetas pero no pude cargar el archivo,

Tomé 2 capturas de pantalla, bacialmente el comienzo del mes para mayo como inicio de mayo

Fórmula (SOLO PARA MAYO):

Inicio del mes: CALCULATE(SUMX('Producto A','Producto A'[ KG]),STARTOFMONTH('Producto '[Invoice_Date]))

Luego aquí viene a la JUNIO (JULIO. AUG) Inicio del mes, tendrá que utilizar la RED desde el mes perídico.

Así como quédate lo que may ya sea.

Fórmula para NET (para volcar):

Neto : [suma del producto A a través del mes]+[Inicio del mes]-'Producto B'[KG]

Por favor, eche un vistazo y comparta si tiene alguna idea, código, fórmulas que pueden ayudar a lograr este paso.

Gracias de antemano.!!! Básicamente, necesitará cualquier comienzo del mes para estancias de mayo, a partir de junio, utilizar la red para ser el nuevo "mayo" (comienzo del mes).

¡Avísame si no lo expliqué bien o tienes preguntas! ¡Gracias!Data.PNGResult.PNG

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

Hola @RachelJye

Las dos fórmulas (Inicio del mes y NET) están anidadas entre sí, por lo que creo que es muy difícil de lograr en dax.

intenta obtenerlo en la fuente de datos.

saludos

Lin

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

Gracias Lin,

sin embargo, el producto A y B están en dos tablas diferentes en el nivel de consulta, por lo que no estoy seguro de cómo hacer el cálculo de tabla cruzada en el editior de consulta.

hola @RachelJye

Creo que es mejor hacerlo en datossoductos, en dax o power query es muy difícil conseguirlo.

saludos

Lin

Community Support Team _ Lin
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.