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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Promedio ponderado por valores filtrados

Hola
Estoy tratando de crear un promedio ponderado basado en una medida filtrada de un modelo conectado en vivo. A partir de ahora, he creado la siguiente medida, pero estoy teniendo problemas para agregar el total de pesos para agregar por PM. En cambio, estoy obteniendo valores individuales que suman los pesos, lo que tiene sentido. Dicho esto, ¿hay alguna manera de traer el total frente a las cantidades individuales que se están calculando?
Mi objetivo es llegar a los 132.014 que se ven en la instantánea de Excel.
EAC X y EAC Revenue son ambas medidas.
En el ejemplo de Excel
stb130130_0-1682973363581.png

Resultados de BI

stb130130_1-1682973382991.png

Ponderación por proyecto =
VSERÍA ProjectEACRevenue =
GUSTARCULAR(
[. EIngresos de AC],
TODOXCEPT(Porjects,Projects[ProNúmero de proyecto])
)
DÓNDE ProjectManagerRevenue =
CALCULATAMBIÉN(
[. EAC Relugar],
TODOS excepto(Proyectos,Proyectos[Proyecto Gerente])
)
DÓNDE Pesos =
DIVIDA(PGuardiactEACRelugar, ProjectManporerIngresos)
DÓNDE Ponderación =
WOchos*
CALCULATE(
[. EAC PDIP Mejor Caso],
(TODOS excepto(Proyectos,Proyectos[Proyecto Número])
)
)
DEVOLUCIÓN Ponderación
0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors