2

I've got the next table of attributes:

enter image description here

I want to perform a dissolve by the first column (date) and get: - Earliest value by group in the second column. - Latest value by group in the third column.

There is any easy way to do so ? The aim is to do so into the modeler so I would try to avoid complex code, or at least an easy way to implement it.

4

enter image description here

Field "earliest"

minimum("start_t", group_by:="my_date")

Field "latest"

maximum("end_t", group_by:="my_date")
  • I'm glad, thanks. And sorry for this shoddy post, my computer was unstable... Just as a side note, this aggregates function (group_by) may not work for QGIS versions older than 2.16. – Kazuhito Nov 7 '17 at 15:07
  • I didn't try it yet but even if it doesn't work into 2.18 you gave me some ideas to do it ;-) – César Arquero Nov 7 '17 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.