Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
Hello Team,
I want to calculate the idle time between 2 consecutive calls callusing Dax measure may be Dax Calculated column.
Please help
The sample table is given below
Thanks
Solved! Go to Solution.
Thanks for the reply from rajendraongole1 , please allow me to provide another insight:
Hi @mehul_sharma77 ,
You can try the following dax, using the var() formula to store the result instead of earlier():.
Solved: Not enough memory to complete this operation - Microsoft Fabric Community
result =
var _start='Table'[CallStartDateTime]
var _date=
MAXX(
FILTER('Table',
'Table'[CallStartDateTime]<_start),[CallEndDateTime])
RETURN
DATEDIFF(
_date, [CallStartDateTime],SECOND)
Depending on the error message indicating that you are experiencing memory problems, consider reducing the amount of data being processed or optimizing the data model. You can also use tools such as DAX Studio to analyze and optimize DAX queries.
Try increasing memory management cache and clear currently used cache under Options. Then restart Power BI Desktop to see if the error disappears.
This is the related document, you can view this content:
Solved: Not enough memory to complete this operation - Page 2 - Microsoft Fabric Community
Solved: There is not enough memory to complete this operat... - Microsoft Fabric Community
There's Not Enough Memory To Complete This Operati... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks for the reply from rajendraongole1 , please allow me to provide another insight:
Hi @mehul_sharma77 ,
You can try the following dax, using the var() formula to store the result instead of earlier():.
Solved: Not enough memory to complete this operation - Microsoft Fabric Community
result =
var _start='Table'[CallStartDateTime]
var _date=
MAXX(
FILTER('Table',
'Table'[CallStartDateTime]<_start),[CallEndDateTime])
RETURN
DATEDIFF(
_date, [CallStartDateTime],SECOND)
Depending on the error message indicating that you are experiencing memory problems, consider reducing the amount of data being processed or optimizing the data model. You can also use tools such as DAX Studio to analyze and optimize DAX queries.
Try increasing memory management cache and clear currently used cache under Options. Then restart Power BI Desktop to see if the error disappears.
This is the related document, you can view this content:
Solved: Not enough memory to complete this operation - Page 2 - Microsoft Fabric Community
Solved: There is not enough memory to complete this operat... - Microsoft Fabric Community
There's Not Enough Memory To Complete This Operati... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hello
Thanks for your response, we are looking ideal time between 2 completed call
like
Start date time for current call - end call of previous call
but the numbers shared in the snapshot by you are completely different. Please correct me if I am wrong
After running your Dax I got the following error.though I using best in class system configuration
Please HELP!!!!!
Hi @mehul_sharma77 - can you create a calculated column as like below:
Hope you changed the table reference as per your model.
Proud to be a Super User! | |
Hi @mehul_sharma77 - you can create a calculated column that calculates the difference between the end time of the previous call and the start time of the current call.
Proud to be a Super User! | |
Hello
Thanks for your response, we are looking idle time between 2 completed call
like
Start date time for current call - end call of previous call
but the numbers shared in the snapshot by you are completely different. Please correct me if I am wrong
After running your Dax I got the following error, though I using best in class system configuration
Please HELP!!!!!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
80 | |
59 | |
35 | |
35 |
User | Count |
---|---|
100 | |
60 | |
56 | |
46 | |
41 |