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
jp2020
Helper I
Helper I

Problema total de ejecución acumulativa con leyenda

Hola a todos

Tengo una columna acumulativa trabajando usando medida rápida:

Importe acumulado: CALCULATE (

SUM('Tabla'[Importe] ),
FILTER (ALLSELECTED('Table'),
'Tabla'[ORDER_DATE] <-MAX( 'Tabla'[ORDER_DATE] )
)
)

ORDER_DATECantidadImporte acumulado
Enero

10

10
Febrero515
Marzo520

Sin embargo, cuando agredo otra columna (tipo de cliente), los totales mensuales se duplican en la columna acumulativa.

¿Cómo obtengo totales acumulados por tipo de cliente por mes?

ORDER_DATETIPO DE CLIENTECantidadImporte acumulado
EneroA210
EneroB510
EneroC310
FebreroA115
FebreroB

3

15
FebreroC115
MarzoA320
MarzoB120
MarzoC120

Así que me gustaría esto:

ORDER_DATETIPO DE CLIENTECantidadImporte acumulado
EneroA22
EneroB55
EneroC33
FebreroA13
FebreroB

3

8
FebreroC14
MarzoA36
MarzoB19
MarzoC15
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@jp2020 , Trate si esto puede ayudar

Importe acumulado: CALCULATE (
SUM('Tabla'[Importe] ),
FILTER (ALLSELECTED('Table'),'NT Transactions'[Client_Type] ?max('NT Transactions'[Client_Type] ) &&
'Transacciones NT'[ORDER_DATE] <- MAX( 'Transacciones NT'[ORDER_DATE] )
)
)

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@jp2020 , Trate si esto puede ayudar

Importe acumulado: CALCULATE (
SUM('Tabla'[Importe] ),
FILTER (ALLSELECTED('Table'),'NT Transactions'[Client_Type] ?max('NT Transactions'[Client_Type] ) &&
'Transacciones NT'[ORDER_DATE] <- MAX( 'Transacciones NT'[ORDER_DATE] )
)
)

¡Eso funcionó perfectamente, gracias!

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.