Is there a way to use the field calculator in QGIS to create a range of values in a count sequence with a specified input range? For example, if I wanted to have the values 1 to 5 repeated within my table according to the first record in the table.
Thanks...
Answer
This will do it in Field Calculator:
( $rownum-1 ) % 5 +1
No comments:
Post a Comment