I have found a solution. It seems there was an error in the dataset lookup. It should look like this:
from_dataset("Countries", "alpha-3", "alpha-2": field('COUNTRY_CODE2'))
The error message could be clearer though and not include the codeFromName formula
↧
Error using a user created function and from_database
↧