<div dir="ltr"><div dir="ltr">Hi Jose,<div><br></div><div>it was possible in QGIS v2.x with the plugin AutoFields [1]. Now in QGIS 3.x some devs have partially implemented the AutoFields functionalities into QGIS core, but your use case is still not supported. </div><div><br></div><div>However, a project in Colombia [2] is funding exactly that use case. It could land into QGIS soon. I'll come back to this thread when it happens.</div><div><br></div><div>Regards, </div><div><br></div><div>Germán </div><div>-----------</div><div>[1] <a href="https://github.com/gacarrillor/autofields">https://github.com/gacarrillor/autofields</a></div><div>[2] <a href="https://www.proadmintierra.info/">https://www.proadmintierra.info/</a></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 12 jun. 2019 a las 4:09, Andreas Neumann (<<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi José,</p>
<p>QGIS has the concept of a virtual field - see <a href="https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field" target="_blank">https://docs.qgis.org/3.4/en/docs/user_manual/working_with_vector/attribute_table.html#creating-a-virtual-field</a> </p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="gmail-m_8501576321454959190reply-intro">On 2019-06-12 11:06, Jose C. Rodríguez Durán wrote:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div dir="ltr">Hi everybody,<br><br>I'm trying to generate an automatic field, I mean, a field that depends for two others. We have FIELD1, FIELD2 and SUM. The result should be SUM = FIELD1 + FIELD2. The thing is, if I change the value of FIELD1, the value of SUM should change. Example: FIELD1 (8) + FIELD2 (10) = SUM (18)  -----> FIELD1 (4) + FIELD2 (10) = SUM (14) <br><br><br>Any idea??<br><br>Thanks in advance for your help!!  <br clear="all">
<div> </div>
-- <br>
<div class="gmail-m_8501576321454959190gmail_signature" dir="ltr">
<div dir="ltr"><strong>José C. Rodríguez Durán<br></strong></div>
</div>
</div>
<br>
<div class="gmail-m_8501576321454959190pre" style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br></p>

</div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>-----------<br></div><div>   |\__  <br>(:>__)(<br>   |/    <br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br><a href="http://twitter.com/GeoTux2" target="_blank">https://twitter.com/GeoTux2</a></div><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div></div></div></div></div></div><div><div><br></div><div><a href="http://gis.stackexchange.com/users/4972/germ%c3%a1n-carrillo" target="_blank"><img src="http://gis.stackexchange.com/users/flair/4972.png"></a></div></div></div></div></div></div></div></div>