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 BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

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

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.