[Qgis-user] Local variables in field calculator

Nelson A. de Oliveira naoliv at gmail.com
Mon May 16 07:02:59 PDT 2016


Is it possible to use local variables in the field calculator?

For example, suppose I need to calculate the same maximum value with
"max(a lot of parameters)" in multiple places.
To avoid the same repeated expression (and also to avoid a possible
mistake in one of them), is there a way to create a local variable
with this result and then use it anywhere else in the same field
calculator code?

Thank you!

Best regards,
Nelson



More information about the Qgis-user mailing list