Two tables linked with 1 to n relationship

I would like to do a relation_aggregate so that I would get the highest value (real) from a field in the child table.

And the same expression but for the lowest value.

  • 1
    If your Question can't answer the questions "What have you tried?" and "Where are you stuck?" it is likely to collect closure votes. You also seem running up against the One question per Question policy.
    – Vince
    Commented Jul 3, 2022 at 15:54

1 Answer 1


found it. Thanks anyway!

for max

relation_aggregate('relation','max', "field(real)")

for min

relation_aggregate('relation','min', "field(real)")

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