Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Unknown Variable Formula Error

Karl_Spratt
8 - Asteroid

Hi Community,

Can someone explain how I can fix this error?

Both the Country & route columns are coming into the W/F as V_String  

Example the route for a delivery in France would be FR-140, the Country Code would be FR so I'm saying if Route is populated pull the first 2 digits FR if empty ( no delivery created) pull the country code 

 

Can someone explain the fix here please. 

 

TIA,

Karl. 

2 REPLIES 2
FinnCharlton
13 - Pulsar

Hi @Karl_Spratt ,

 

You are generating a new field called [Country], but also calling the [Country] field within the formula expression. A normal formula expression like this can't reference itself. You'll need to change your formula so it doesn't use the [Country] field - chances are you weren't meaning to call that field in the first place.

Raj
14 - Magnetar
Labels