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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

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.

Top Solution Authors
Top Kudoed Authors