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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Kanxeskis
New Member

Suma acumulada por columnas (total acumulado debajo del total)

Hola,

Alguien sabría como poner el cálculo acumulado debajo de los totales mensuales tal y cómo se muestra en el ejemplo?.

Gracias

 

 22 de octubre22 de noviembredic-22ene-2323 de febreromar-23TOTAL
ingresos102030405060210
Gasto-18-15-7-19-34-55-148
Total-85232116562
Total Acum.-8-320415762 

 

 

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi 

Create measure like the below(use the new measure as value):

TEST = 
IF (
    HASONEVALUE ( 'Table'[Type1] ),
    MAX ( 'Table'[value] ),
    CALCULATE ( MAX ( 'Table'[value] ), FILTER ( 'Table', 'Table'[Type1] = "A" ) )
        - CALCULATE ( MAX ( 'Table'[value] ), FILTER ( 'Table', 'Table'[Type1] = "B" ) )
)

 

vluwangmsft_0-1666688839939.png

 

 

Best Regards

Lucien

View solution in original post

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi 

Create measure like the below(use the new measure as value):

TEST = 
IF (
    HASONEVALUE ( 'Table'[Type1] ),
    MAX ( 'Table'[value] ),
    CALCULATE ( MAX ( 'Table'[value] ), FILTER ( 'Table', 'Table'[Type1] = "A" ) )
        - CALCULATE ( MAX ( 'Table'[value] ), FILTER ( 'Table', 'Table'[Type1] = "B" ) )
)

 

vluwangmsft_0-1666688839939.png

 

 

Best Regards

Lucien

Thanks Lucien,

 

Pero necesito que el cálculo del "CF ACUM" esté bajo "CASH FLOW" es decir en una fila y no me deja, sólo me deja añadir la medida en la columna.

 

Kanxeskis_2-1667921117475.png

 

 

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.