Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
¡Hola!
Anteriormente pregunté sobre cómo podía calcular un promedio por encima de varias categorías en una gráfica de línea. Usé la sintaxis DAX:
Nueva medida-CALCULATE(AVERAGE('Table'[Value]), ALL('Table'[Category1]),
ALL('Table'[Category2]), ALL('Table'[Category3]))
Esto funcionó muy bien. Sin embargo, ahora quiero calcular un promedio dentro de la categoría1 y por encima de todas las demás categorías. Por lo tanto, quiero un promedio para cada nivel en la categoría1. ¿Es posible?
Saludos marit
@Marit , compruebe si estos dos pueden ayudar
https://community.powerbi.com/t5/Desktop/SUM-of-AVERAGE/td-p/197013
https://community.powerbi.com/t5/Desktop/Percentage-of-subtotal/td-p/95390
Hola @Marit ,
Sólo tiene que calcular el promedio para cada categoría:
AVERAGE 1= CALCULATE(AVERAGE('Table'[Value]); ALLSELECTED(Table[Category1])
Simplemente repita esto para cada una de las categorías.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!