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
Anonymous
Not applicable

Sumx y Summerize están funcionando demasiado lentos en Matrix

Hola a todos he creado Matirx informe que se ve como a continuación :

salmashaikh_0-1603981564351.png

Todas las columnas son medidas con valor fijo 0,50 ,100 ... Estoy mutilando el estado RAG . donde 0 es rojo 50:Amber y 100 :green

Mi total es : Total de Columna / RAG / Sitios (Business Hirachy)

Estoy usando SUMX con Resumen en Mi DAX que es como abajo :

%ADH_RiskStatus ?
VAR sumtbl 'SUMMARIZE('Sites & Facilities','Sites & Facilities'[Document.SiteName] ,"RISK1",[ADH_RiskStatus])
VAR TotalRiskbySite (SUMX(sumtbl,[RISK1]))
devolución
(TotalRiskbySite ) /[ADH_SiteCount]
Esta lógica está funcionando muy bien. pero es muy lento en el rendimiento . Necesito ayuda/sugerencia para mejorar la perfromance.

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hola @salmashaikh ,

Como SUMX es una función de iterador, está degradando el rendimiento.

https://www.kasperonbi.com/tune-your-powerpivot-dax-query-don't-use-the-entire-table-in-a-filter-and...

https://powerpivotpro.com/2015/08/nested-sumx-or-dax-query/

Saludos
Liang
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

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.