[Qgis-user] Editing expression in QGIS

Ujaval Gandhi ujaval at spatialthoughts.com
Mon Jul 10 09:15:27 PDT 2023


You will need to write the expression using QGIS's expression syntax and
functions. There's no direct migration from Excel to QGIS.


You can add a new field using Field Calculator as a 'Virtual Field' which is
computed dynamically, so if any data value changes or you add new rows, the
expression will be evaluated automatically. 
https://docs.qgis.org/3.28/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field
[https://mailtrack.io/trace/link/4ba39305aa20b35528de7ddddfa38a3ec18452d0?url=https%3A%2F%2Fdocs.qgis.org%2F3.28%2Fen%2Fdocs%2Fuser_manual%2Fworking_with_vector%2Fattribute_table.html%23creating-a-virtual-field&userId=8747767&signature=3aa673f10063f979]

---
Ujaval Gandhi
Spatial Thoughts
www.spatialthoughts.com
[https://mailtrack.io/trace/link/54638064fd4644a93dec4856f74627dce1b11ca0?url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=5d1143e2859dd24d]




[data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=3D]
On Mon, Jul 10, 2023 at 8:28 PM Simon via QGIS-User <qgis-user at lists.osgeo.org>
wrote:

> Hi all, 
> 
> 
> Is it possible to add an Excel equation into QGIS via the field calculator in
> the attribute table window. The expression is fairly large, and the references
> will have to be changed but is it even do-able? 
> 
> 
> If not, is there a better tool or plugin I can use?
> 
> 
> The goal is to add the equation, but also to be able to edit it in the future
> if the data changes. 
> 
> 
> Thanks, 
> 
> 
> Simon
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org [QGIS-User at lists.osgeo.org]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> [https://lists.osgeo.org/mailman/listinfo/qgis-user]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> [https://lists.osgeo.org/mailman/listinfo/qgis-user]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230710/37c24be8/attachment.htm>


More information about the QGIS-User mailing list