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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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