One challenge I run into frequently when troubleshooting complex formulas is that the Drill Down feature shows all contributing line items, but it doesn't clearly indicate which parts of the formula actually evaluated to TRUE/FALSE or where the logic path was executed.
For example, in a formula with multiple nested IF statements, AND/OR conditions, LOOKUPs, and Special Case logic, Drill Down will list every referenced line item, but it can be very difficult to determine:
- Which branch of the IF statement was actually used
- Which conditions evaluated to TRUE or FALSE
- Which line item caused the final result to fail
- Whether a referenced line item is missing, blank, or returning an unexpected value
As a result, I often end up manually copying the formula into a text editor and color-highlighting each condition to trace the execution path.
Suggested Enhancement
Add visual indicators within the Drill Down screen, such as:
🟢 Green = Condition evaluated to TRUE and was part of the executed path
🔴 Red = Condition evaluated to FALSE
🟡 Yellow = Referenced but not evaluated due to earlier logic (short-circuited IF/AND/OR conditions)
⚠️ Warning Icon = Missing data, blank value, invalid mapping, or failed lookup
In addition, it would be extremely helpful if Drill Down could:
- Highlight the exact IF branch that was executed
- Collapse sections of logic that were not evaluated
- Show intermediate TRUE/FALSE results for complex expressions
- Provide a visual formula tree showing the execution path
Why This Would Help
When debugging large formulas, the challenge isn't usually finding the referenced line items—it's understanding the flow of execution through the formula.
For builders working with highly complex business logic, this enhancement would significantly reduce troubleshooting time, improve model transparency, and make root cause analysis much easier without requiring manual formula annotation outside of Anaplan.