Could not determine lookahead

I get “Could not determine lookahead” when trying the ROIC formula below. I tried to make a costum formula for ROIC, but that did not help.

Fhist("(OperCashFlTTM-CapExTTM+IntExpTTM *(1 -Aggregate(TaxRate%TTM,#Industry, #Avg)/100)) /Max(1, DbtTotQ+IsNA(NoncontrolIntQ,0)+IsNA(PfdEquityQ, 0)+ComEqQ-IsNA(CashEquivQ, 0))",-52)

I had this problem once before. After some time I realized I had a typo in my formula.

Run it through the screener to ensure it works?

You are right, looks like FHist does not handle Aggregate series :thinking:

I can see that there is a predefined TaxRate%TTMInd now, almost the same result, that will solve it.