Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can using @row_number option or similar together the command "Create virtual field". It works very well with "Create new field", but doens't work with "Create virtual field".
As @ThingumaBob suggested, virtual fields do not have to be relied upon for assessing a table context.
For example in your case is no assurance that the order will remain the same after an update.
As a possible workaround, however, you could resort to use the $id function in a virtual field:
Required, but never shown