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
FZOU
Helper IV
Helper IV

Total de ejecución

Hola comunidad,

Necesito tu contrato de arrendamiento de ayuda es un problema i'm calcular un total de funcionamiento it's trabajo bien, pero con un extraño comportment.

Running tot.PNG

Hasta la imagen anterior todo está bien, pero cuando muevo el filtro para empezar a partir de 15/02/2018 la columna cumul ignoer el valor de 01/02/2018 y empezar desde 1200 como la imagen de abajo

Running fil.PNG

mi resultado deseado es que si muevo la segmentación de datos todavía tomar el valor de la fecha anterior como esta tabla a continuación, necesito su ayuda y gracias

Fecha de ventaDemandQtAcumulación
15/02/201812002200
24/02/201815003700
15/04/201810004700
Total47004700
3 REPLIES 3
amitchandak
Super User
Super User

@FZOU

si utiliza allselected tomará las fechas seleccionadas, puede utilizar todo o datestyd según la necesidad

Cumul - CALCULATE(SUM(Demand[DemandQt]); FILTRO(ALL(demand);Demand[Fecha de venta]<-max(Demand[Fecha de venta])))

Acumulación: CALCULATE(SUM(Demand[DemandQt]);datesytd('Date'[Date])

Acumulación: CALCULATE(SUM(Demand[DemandQt]);datesytd('Date'[Date],"1/31")// force year from Feb

@amitchandak muchas gracias por su respuesta rápida, funciona, todavía estoy confundido con TODO y TODOS los seleccionados

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.