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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Cómo mostrar Total en tabla como promedio en lugar de suma

He creado una medida rápida (promedio ponderado por categoría) que contiene valores porcentuales:

JohnAsh_3-1680265794107.png

Los valores porcentuales en sí son correctos, pero el total (450.70%) es la suma de los porcentajes anteriores. Quiero que el Total sea el promedio de los porcentajes de avobe.
Normalmente cambiaría la estruendosidad de Suma a Promedio, pero parece que no puedo hacer esto porque es una medida (supongo).

Para el contexto, esta es la medida:

Totaal % weighted by Contractuur per HV = 
VAR __CATEGORY_VALUES = VALUES('Alle tijd 2022 v2'[HV])
RETURN

    DIVIDE(
		SUMX(
			KEEPFILTERS(__CATEGORY_VALUES),
			CALCULATE([Totaal %] * SUM('Contracturen'[Contractuur]))
		),
		SUMX(
			KEEPFILTERS(__CATEGORY_VALUES),
			CALCULATE(SUM('Contracturen'[Contractuur]))
		)
	) 



1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@JohnAsh , use insinscope

if(insinscope (Tabla[Columna visual]) , [Su medida], averagex(Valores(Tabla[Columna visual]) , [Su medida]) )

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors