The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!!!!!
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |