Forum Discussion
DAX causing system resource issues
- 5 years ago
Hi Msommerf,
While I dont have any advice with regards to M. You could try the following table based caluclation. Please note that this assumes that the fields available are within the same table. If not It may be worth bringing the fields from other tables into this one through their shared ID relationship:Calculate(Max([InspectionCompleted]),Filter(All([INSPECTIONCOMPLETEDTABLE]),
ASSETID = Earlier(ASSETID) &&
InspectionCompleted<Date_Occured ))The calculation may run more efficiently if its does not have to look to other tables.
Hi Msommerf,
While I dont have any advice with regards to M. You could try the following table based caluclation. Please note that this assumes that the fields available are within the same table. If not It may be worth bringing the fields from other tables into this one through their shared ID relationship:
Calculate(Max([InspectionCompleted]),Filter(All([INSPECTIONCOMPLETEDTABLE]),
ASSETID = Earlier(ASSETID) &&
InspectionCompleted<Date_Occured ))
The calculation may run more efficiently if its does not have to look to other tables.