[Qgis-user] layout expressions
Kai Borgolte
Kai.Borgolte at gmx.de
Fri Oct 12 07:30:35 PDT 2018
Am 12.10.2018 um 15:13 schrieb Kai Borgolte:
> is it possible to calculate on arbitrary attribute tables in an
> expression in a layout? I want to have something like SELECT count(*)
> FROM exceltable WHERE group = 'a' and subgroup = 'b'.
Ah, great, aggregate() can access layers:
[% aggregate('longId_9b9129d7_9c00_4a30_8c6c_d3959664149b', 'count', 1,
"group" = 'a' and "subgroup" = 'b') %]
--
Kai Borgolte, Bonn
More information about the Qgis-user
mailing list