The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
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.
Proud to be a Super User!
User | Count |
---|---|
15 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
23 | |
14 | |
13 | |
8 | |
8 |