Answer by she_weeds for Assigning row number for sorted table by column in QGIS
For a simple sort (by one column) you can use QGIS expressions in the Field Calculator.From QGIS 3.8 the aggregating functions have allowed for the use of an order field (which can be different from...
View ArticleAnswer by ArMoraer for Assigning row number for sorted table by column in QGIS
I have coded a plugin (Sort and Number) to solve your issue. It allows you to select up to 3 fields and order your attribute table according to these fields. Then, it numbers the attribute table in a...
View ArticleAnswer by Pierma for Assigning row number for sorted table by column in QGIS
I'm not sure you can with field calculator, but you can use a "Virtual Layer" through Layer > Add Layer > Add/Edit Virtual Layer... with a query like :SELECT * , (SELECT count(*) FROM...
View ArticleAssigning row number for sorted table by column in QGIS
In QGIS 3 the Field calculator has a great function called @row_number (in QGIS 2 it was $rownum) which returns (assigns) the number of the current row.Is there a way to make it work together with...
View Article
More Pages to Explore .....