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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
sathishdgl
Frequent Visitor

TotalMTD , TotalYTD is very slow for a specific table

I created following measure in 2 tables, orders and shipments. Both are showing correct value. However measure in orders loads very fast but same measure formula in shipments is extremely slow

 

TOTALMTD( orders[amount], calendar[date])

 

time : 1524

 

is very fast but 

 

TOTALMTD (ship[amount], calendar[date])

 

is slow

 

time :6454

 

calendar is not marked as date table because it is having duplicates. i don't mind, because it is showing correct values

1 REPLY 1
some_bih
Super User
Super User

Hi @sathishdglDAX functions like TOTAMTD or TOTALYTD are from group Time Intelligence which means the best work on Calendar / Date table. It is good for you to compare performance and similar, but to implement best practice create Calendar / Date table (and mark it without duplicate) and after that check perfomance.

Hope this help, kudos appreciate.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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