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

total acumulado

Estoy tratando de hacer análisis de casos tímidos, pero se atascó con el problema del total acumulado .

cuando apllied fórmula acumulativa como escriba aquí , mesure acumulativo

Medida Total de Ejecución ?
CALCULAR (
SUM ( 'PSM_COVID19_23_05 - Sheet1'[Total confirmado] ),
FILTRO (
ALL ( 'PSM_COVID19_23_05 - Sheet1' ),
«PSM_COVID19_23_05 - Sheet1»[Fecha de la muestra probada] <-MAX ('PSM_COVID19_23_05 - Sheet1'[Fecha de la muestra probada] )
)
)
hace acumulativo, pero cuando agrego 'distrito'' como una leyenda muestra los mismos valores acumulativos para cada categoría de distrito2020-05-26.pngERROR.JPG
1 ACCEPTED SOLUTION

¡Hola!

así es como funcionó

Muerte acumulativa en el distrito : CALCULATE(SUM('muerte confirmada'[nueva muerte confirmada]), FILTRO(ALL('muerte confirmada'),'muerte confirmada'[FECHA DE OUTCOME]<-MAX('muerte confirmada'[FECHA DE RESULTADO]) && 'muerte confirmada'[DISTRITO]-MAX('muerte confirmada'[DISTRITO])))
gracias a todos

View solution in original post

6 REPLIES 6

¡Hola!

así es como funcionó

Muerte acumulativa en el distrito : CALCULATE(SUM('muerte confirmada'[nueva muerte confirmada]), FILTRO(ALL('muerte confirmada'),'muerte confirmada'[FECHA DE OUTCOME]<-MAX('muerte confirmada'[FECHA DE RESULTADO]) && 'muerte confirmada'[DISTRITO]-MAX('muerte confirmada'[DISTRITO])))
gracias a todos
speedramps
Super User
Super User

Hola drnareshchauhan

Por favor, conisder esta siolución y añadir felicitaciones.

Usted ha utilizado el comando TODO que hace lo que dice en la lata y borra todos los filtros.

Si desea agregar Distrito a su leyenda, entonces debe decirle a la medida que restaure el filtro para Distrito después de ALL.

Por ejemplo,

Medida Total de Ejecución ?

CALCULAR (

SUM ( 'PSM_COVID19_23_05 - Sheet1'[Total confirmado] ),

FILTRO (

ALL ( 'PSM_COVID19_23_05 - Sheet1' ),
VALORES( 'PSM_COVID19_23_05 - Sheet1'[Distrito] ),

«PSM_COVID19_23_05 - Sheet1»[Fecha de la muestra probada] <-MAX ('PSM_COVID19_23_05 - Sheet1'[Fecha de la muestra probada] )

)

)

az38
Community Champion
Community Champion

Hola @drnareshchauhan

Tratar

Running Total MEASURE =
CALCULATE (
SUM ( 'PSM_COVID19_23_05 - Sheet1'[Total Confirmed] ),
FILTER (
ALL ( 'PSM_COVID19_23_05 - Sheet1' ),
'PSM_COVID19_23_05 - Sheet1'[Date of sample tested] <= MAX ( 'PSM_COVID19_23_05 - Sheet1'[Date of sample tested] ) && 'PSM_COVID19_23_05 - Sheet1'[District] = EARLIER('PSM_COVID19_23_05 - Sheet1'[District])
)
)
 

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

cómo compartir archivo aquí

esta fórmula no devuelve en blanco ningún valor

Gracias

gracias pero no funciona decir error en parámetros

incluso perdió el acumulativo corregido anterior

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.