[Qgis-user] Fill-down with QGIS expressions
Totò
pigrecoinfinito at gmail.com
Sun Mar 28 15:32:33 PDT 2021
Andrea Giudiceandrea wrote
> Totò wrote
>> I have a CSV file [0], how to get the "zona_fill" field?
>> The "zona_fill" field is the result of the fill-down of the "zona"
>> column.
>
> Hi Salvatore,
>
> I've imported your csv file, copied the features to a new scratch memory
> layer, and created a new field named 'zona_fill2' using the Field
> Calculator
> with the following expression:
>
> if( "zona" is empty, attribute( get_feature_by_id(@layer, $id -1),
> 'zona_fill2') , "zona")
Hi Andrea and thank you for your time,
I replicated your expression but I get this:
<http://osgeo-org.1560.x6.nabble.com/file/t378656/nono.png>
what am I doing wrong?
saluti
-----
https://pigrecoinfinito.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
More information about the Qgis-user
mailing list