Support calculated metric fields

Created on 4 November 2019, about 5 years ago
Updated 7 February 2024, 9 months ago

Currently the calculated metric fields are not usable, since the module just pulls the available fields from the metadata api and adds views field for them. The metadata API returns only calcmetric_<NAME>, which of course isn't a real name and which the views plugins query function fails to validate.

The patch I attached implements a views field handler, similar to the general one that also handles custom dimensions and metrics. The fields config form will allow you to set the real name of the calculated metric, and thus be able to query it.

🐛 Bug report
Status

Fixed

Version

3.0

Component

All modules

Created by

🇦🇹Austria sepgil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024