diff --git a/v3/src/models/formula/functions/semi-aggregate-functions.ts b/v3/src/models/formula/functions/semi-aggregate-functions.ts index a37db4dde..59e0006b8 100644 --- a/v3/src/models/formula/functions/semi-aggregate-functions.ts +++ b/v3/src/models/formula/functions/semi-aggregate-functions.ts @@ -17,7 +17,7 @@ export const semiAggregateFunctions = { const caseGroupId = scope.getCaseGroupId() const cacheKey = `next(${args.toString()})-${caseGroupId}` const [ expression, defaultValue, filter ] = args - const cachedData = scope.getCached(cacheKey) as ICachedData | undefined + const cachedData = scope.getCached(cacheKey) let result let casePointer = scope.getCasePointer()