Hey,
The only option is to break down your queries so that there is no circular dependency.
This should return the result you are after:
TempValue = [value] +
CALCULATE(sum([value]),
filter(all('Table'),
[index] < earlier([index])))
TestResult = if([TempValue] > 10000, [Value],0)
TestValue = [TempValue] +
CALCULATE(sum([TestResult]),
filter(all('Table'),
[Index] < earlier([Index])))