Error when importing conditions in nested loops

There’s a rule (with exceptions) that if the field has a $ after its name then you don’t put a dollar in the field itself.

So, try without the $