Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
When I run this DAX query, it functions almost perfectly. I say almost because it works on date only, but i need it to work with the time that is in the date field as well.
This works
Solved! Go to Solution.
If you remove .[date], the loop number will be very large which may cause memory exceeding. You should modify your model structure or reduce the date table rows. You can refer to the doc and blogs below about how to improve the performance:
Optimization guide for Power BI
A comprehensive guide to Power BI performance tuning
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you remove .[date], the loop number will be very large which may cause memory exceeding. You should modify your model structure or reduce the date table rows. You can refer to the doc and blogs below about how to improve the performance:
Optimization guide for Power BI
A comprehensive guide to Power BI performance tuning
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for your response. I reduced some of the rows and tweaked a couple optimization points and the query, although still a little slow, worked just as intended.
When I ditch the .[Date]'s it stops working completely. After some time, it returns an error that there isn't enough memory to perform that function.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 48 | |
| 35 | |
| 31 | |
| 27 |