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

Don'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.

Reply
dalofe
Helper I
Helper I

Suma acumulada sale mal

Hola!

Tengo una tabla  "VentaProducto" con una columna "Total Cajas"

Intengo sumar el acumulado de "Total Cajas" por mes, intenté con la siguiente función: pero me sale mal.

 

ACUMULADO = CALCULATE(SUM(VentaProductos[Total Cajas]),
FILTER(ALL(VentaProductos),
VentaProductos[Fecha de aceptación]<=MAX(VentaProductos[Fecha de aceptación])))
 

Captura de pantalla 2022-08-31 142541.jpg

 

1 ACCEPTED SOLUTION
dalofe
Helper I
Helper I

Lo logré con:

 

ACUMULADO = TOTALYTD([Cajas Vendidas],Calendario[Fecha])

View solution in original post

7 REPLIES 7
dalofe
Helper I
Helper I

Lo logré con:

 

ACUMULADO = TOTALYTD([Cajas Vendidas],Calendario[Fecha])
Syndicate_Admin
Administrator
Administrator

¿Cómo está calculando Cajas Vendidas?

 

Está calculado como: Cajas Vendidas=SUM(VentaProductos[Total Cajas])

Syndicate_Admin
Administrator
Administrator

¿Esperas que el resultado se vea como...

jgeddes_0-1661975981819.png

¿Cómo lo lograste?

Utilicé

CALCULAR(

SUM(VentaProductos[Cajas Vendidas]),
FILTER(ALL(VentaProductos), VentaProductos[Fecha de aceptacion] <= MAX(VentaProductos[Fecha de aceptacion]))
)

Si, eso es lo que espero

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors