cancel
Showing results for 
Search instead for 
Did you mean: 
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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors