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
Syndicate_Admin
Administrator
Administrator

Total acumulado agregando el total anterior dos veces

EjeActualCummulative
a1555
a210205+5+10
a3155020+5+10+15
a42010050+5+10+15+20
a525175100+5+10+15+20+25

Columna compilativa requerida

1 ACCEPTED SOLUTION

@vijaykumarj19 Utilizo las siguientes medidas para obtener la salida. Poner [Total 1] en [Total 2].

Total 1 = SUMX(FILTER(ALL('Tbl3'),'Tbl3'[Axis]<=MAX('Tbl3'[Axis])),'Tbl3'[Value])
Total 2 = SUMX(FILTER(ALL('Tbl3'),'Tbl3'[Axis]<=MAX('Tbl3'[Axis])),[Total 1])

021602.jpg

Estoy luchando para obtener la salida con una sola medida, pero no lo he descubierto.

View solution in original post

6 REPLIES 6
Syndicate_Admin
Administrator
Administrator

@vijaykumarj19 , Pruebe una medida como

calculate(sum(Table[Actual]), filter(allselected(Table), [Axis] < max(Table[Axis]))) + sum(Table[Actual])

El valor actual se resume con el
Pero debe añadirse como abajo

vijaykumarj19_0-1612514378362.png

Hola @vijaykumarj19, por favor pruebe las medidas siguientes. Total acumulado 3 es lo que necesita.

Cumulative Total 1 = CALCULATE(SUM(Tbl2[Value]),FILTER(ALL(Tbl2),Tbl2[Axis]<=MAX(Tbl2[Axis])))
Cumulative Total 2 = CALCULATE(SUMX(VALUES(Tbl2[Axis]),[Cumulative Total 1]),FILTER(ALL(Tbl2),Tbl2[Axis]<=MAX(Tbl2[Axis])))
Cumulative Total 3 = CALCULATE(SUMX(VALUES(Tbl2[Axis]),[Cumulative Total 2]),FILTER(ALL(Tbl2),Tbl2[Axis]<=MAX(Tbl2[Axis])))

020904.jpg

Por favor, hágamelo saber si esto ayuda.
Equipo de apoyo a la comunidad _ Jing Zhang
Si este post ayuda,por favor considere Aceptarlo como la solución para ayudar a otros miembros a encontrarlo.

EjeValorSalida
155
21020
31550
420100
525175

Salida :-
5 - Val1(5)

20 -salida1(5) + Val1(5)+val2(10)

50o de salida2(20) + Val1(5)+val2(10)+val3(15)

.

.

Campo de salida requerido

¿Puedo obtener una medida para el requisito anterior

@vijaykumarj19 Utilizo las siguientes medidas para obtener la salida. Poner [Total 1] en [Total 2].

Total 1 = SUMX(FILTER(ALL('Tbl3'),'Tbl3'[Axis]<=MAX('Tbl3'[Axis])),'Tbl3'[Value])
Total 2 = SUMX(FILTER(ALL('Tbl3'),'Tbl3'[Axis]<=MAX('Tbl3'[Axis])),[Total 1])

021602.jpg

Estoy luchando para obtener la salida con una sola medida, pero no lo he descubierto.

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.