cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Total de una medida

Tengo los siguientes datos:

image.png

Month Name se define en la misma tabla que una columna independiente.

Aquí Porcentaje general completado es una medida. Quiero que este valor sea un total de ejecución a lo largo de meses. Traté de definir la siguiente medida:

RunningTotal = SUMX(FILTER(ALLSELECTED(TXD[Month Name]), TXD[Month Name] <= MAX(TXD[Month Name])),[Porcentaje general completado])

TXD es mi nombre de tabla.

Esta medida da exactamente los mismos valores que el porcentaje general completado

image.png

¿Cómo se puede lograr un total de carreras en esto?

Probé la solución que aparece en https://community.powerbi.com/t5/Desktop/Create-Running-Total-On-A-Calculated-Measure/m-p/164202 pero no funciona para mí.

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@abhi12299 , Trate de

RunningTotal = SUMX(FILTER(ALLSELECTED(TXD), TXD[Month Name] <= MAX(TXD[Month Name])),[Porcentaje global completado])

O

RunningTotal = calculate([Overall Percent Completed], FILTER(ALLSELECTED(TXD), TXD[Month Name] <= MAX(TXD[Month Name])))

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@abhi12299 , Trate de

RunningTotal = SUMX(FILTER(ALLSELECTED(TXD), TXD[Month Name] <= MAX(TXD[Month Name])),[Porcentaje global completado])

O

RunningTotal = calculate([Overall Percent Completed], FILTER(ALLSELECTED(TXD), TXD[Month Name] <= MAX(TXD[Month Name])))

View solution in original post

¡Muchas gracias Amit! Funcionó ahora!!

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Top Solution Authors
Top Kudoed Authors