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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Syndicate_Admin
Administrator
Administrator

Mejoras de rendimiento en la medida dax

La medida de Bllow está tomando más tiempo:

CALCULAR (
SUMX (
RESUMIR (
ALLSELECTED(tabla),
tabla[test_shr_grp_cd],
"total_Client",

CALCULAR (
MAX ( tabla[cr_utilisation_amt_cnt] )
,tabla[First_char_cred_shared_grp_Cd] = "G"
)

),
[total_Client]
),
tabla[test_grp_code(Y/N)] = 1
)

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@TEST_123,

Me gustaría sugerirle que eche un vistazo al siguiente blog que mencionó la optimización del rendimiento del iterador anidado:

Optimización de iteradores anidados en DAX - SQLBI

Saludos

Xiaoxin Sheng

Syndicate_Admin
Administrator
Administrator

@TEST_123 , Prueba como

sumx(summarize(filter(allselTable, table[First_char_cred_shared_grp_Cd] = "G" && table[test_grp_code(Y/N)] = 1), table[test_shr_grp_cd],
"total_Client",MAX ( tabla[cr_utilisation_amt_cnt] ) ),[_1])

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors