I am actually trying to create a new field in a table with the Model Builder (Field calculator function).
Is there a command that creates a new field, so I can do calculations directly in that new field?
I know that there is a function, which creates a new field when using the field calculator directly but I need a command for it.
In Detail: I want to calculate the percent of an area with this command ($area / sum(area))*100
by using the Modeler, but I want it to be written in an existing layer, creating a new field for it.
Update existing field
to avoid that). Insert your expression, give a name to the new field and run the field calculator - you're done. So your question does not make sense to me: can you add more details about what the problem is?area
for your expression to work, by the way.