Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I suspect its this measure that is causing the slow down:
count of ontime = IF( ISBLANK(CALCULATE(DISTINCTCOUNT([ProjectID]), FILTER('TT_ProjectMembers', [Completion Status of Project] = "On Time" && [Count me] = "Yes" ))) = FALSE() , CALCULATE(DISTINCTCOUNT([ProjectID]), FILTER('TT_ProjectMembers', [Completion Status of Project] = "On Time" && [Count me] = "Yes" )), IF( ISBLANK(CALCULATE(DISTINCTCOUNT([ProjectID]), FILTER('TT_ProjectMembers', [Completion Status of Project] = "Late" && [Count me] = "Yes" ))) = FALSE(), 0, BLANK() ))
any guidance on how to make this measure more efficient will be appreciated
Hi @ukeasyproj,
You can try to use below formula if it works on your side.
count of ontime =
var temp = FILTER('TT_ProjectMembers', [Count me] = "Yes" )
var OnTime =CALCULATE(DISTINCTCOUNT([ProjectID]), FILTER(temp, [Completion Status of Project] = "On Time"))
var Late =CALCULATE(DISTINCTCOUNT([ProjectID]), FILTER(temp, [Completion Status of Project] = "Late"))
return
IF(OnTime>0, OnTime,IF(Late>0,0,BLANK()))
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!