Expressions, dynamic_total, dataviz, lizmap

Hello,

I am contacting you to ask for some clarification regarding the COVID project.

I cannot find the trick or configuration used to display, in the “key figures” section, the total sum of values when no department is selected.

For example, for the “deaths” indicator, the default displayed value correctly corresponds to the national total, i.e. 54,901 deaths.

I would like to reproduce the same behavior in my “communal populations” project.
In this project, when nothing is selected, I would like all values to be automatically aggregated and displayed in the key figures section.

Could you please indicate which setting or expression should be used to obtain this behavior?

Thank you in advance for your help, and have a nice day.

Best regards,

You can find the project and the config files on the github dedicated repository : GitHub - 3liz/lizmap-web-client-demo: Demo projects for Lizmap Web Client including QGIS projects, lizmap configuration and spatial data · GitHub

The “key figures” panel use the “HTML template” feature to show aggregated values from unfiltered data

1 Like

Merci beaucoup