Acc. (check) = SUMX( FILTER( ALL(CustomerSKUDate), CustomerSKUDate[Add] <=…
- User
Acc. (check) = SUMX( FILTER( ALL(Customer_SKU_Date), Customer_SKU_Date[Add] <= MAX(Customer_SKU_Date[Add]) && Customer_SKU_Date[Customer-SKU] in VALUES(Customer_SKU_Date[Customer-SKU])
), [Last Date in Group (check)] )Last Date in Group (check) = var _current = MAX(Customer_SKU_Date[Date]) var _next = CALCULATE( MAX(Customer_SKU_Date[Date]), FILTER( ALLEXCEPT( Customer_SKU_Date, Customer_SKU_Date[Customer-SKU] ), Customer_SKU_Date[Rank Customer-SKU] = MAX(Customer_SKU_Date[Rank Customer-SKU]) + 1 ) )
var _datediff = DATEDIFF(_current, _next, DAY)
RETURN IF(_datediff = 1, 0, 1)
After placing measaure Acc. (check), the message "visual has exceeded the available resources" appears. Fix that
- Assistant
To fix the issue where the visual exceeds the available resources, you can try optimizing the measure by using alternative techniques. The following suggestions may help:
-
Simplify the measure: Review the measure and identify any unnecessary calculations or filters that could be removed to streamline the calculation.
-
Reduce the data set: If the visual is using a large amount of data, consider reducing the data set by applying additional filters or aggregating the data at a higher level.
-
Pre-calculate or summarize data: If possible, pre-calculate or summarize the data to reduce the complexity of the measure.
-
Optimize the data model: Review the data model to ensure it is properly structured and relationships are set up efficiently. This can help improve query performance.
-