Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hola a todos
Tengo una columna acumulativa trabajando usando medida rápida:
Importe acumulado: CALCULATE (
ORDER_DATE | Cantidad | Importe acumulado |
Enero | 10 | 10 |
Febrero | 5 | 15 |
Marzo | 5 | 20 |
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_DATE | TIPO DE CLIENTE | Cantidad | Importe acumulado |
Enero | A | 2 | 10 |
Enero | B | 5 | 10 |
Enero | C | 3 | 10 |
Febrero | A | 1 | 15 |
Febrero | B | 3 | 15 |
Febrero | C | 1 | 15 |
Marzo | A | 3 | 20 |
Marzo | B | 1 | 20 |
Marzo | C | 1 | 20 |
Así que me gustaría esto:
ORDER_DATE | TIPO DE CLIENTE | Cantidad | Importe acumulado |
Enero | A | 2 | 2 |
Enero | B | 5 | 5 |
Enero | C | 3 | 3 |
Febrero | A | 1 | 3 |
Febrero | B | 3 | 8 |
Febrero | C | 1 | 4 |
Marzo | A | 3 | 6 |
Marzo | B | 1 | 9 |
Marzo | C | 1 | 5 |
Solved! Go to Solution.
@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] )
)
)
@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!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.