TransWikia.com

Differences in the Select by expression between QGIS 2.18 and 3.4

Geographic Information Systems Asked by Emilio Abad on June 27, 2021

I want to select in a population table the growth rate between two years greather than 1.5.

In QGIS 2.18 the following expression works fine

"POP_P2014" / "POP_P2000" > 1.5

With the same data table and with the same expression, it doesn’t work in QGIS 3.4.

How should i build expression in QGIS 3.4?

In QGIS 2.18
enter image description here
In QGIS 3.4, don’t work
enter image description here

One Answer

It should work in QGIS 3.4 as well. Your expression syntax is not OK. You should write the name of fields enclosed in inverted commas aka quotation marks (""). See the difference in your QGIS 2.18 expression and 3.14. Or simply try this expression "INE_P2014" / "INE_P2000" > 1.5.

Difference in Expression

Answered by datakeen on June 27, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP