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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors