Security, Privacy, AI and CSR information for all Piano products now lives in one place. Explore our Compliance Center.
Analytics
English French
English French

Where can I use custom metrics?

You can use custom metrics everywhere you use standard metrics. You can only create them from Data Query or from the Library.

Where to use a custom metric

Where

How you use it

Explorer

Select the custom metric in your analyses like any other metric.

Data Query

Add it to a report, in the metrics list.

Boards

Show it in a tile, through a report that uses it.

API calls

Use its metric_key in your request.

For example, you create a "Visits from France" metric once. Your colleagues can then add it to their reports and boards, and a developer can request it through the API.

The metric key is the name used in the API. It's set when you save the metric and can't be changed afterwards, so choose it carefully.

Where to create a custom metric

You can create custom metrics from two places:

  1. Data Query: build the metric directly in your report.

image-20261014-095014.png
  1. Library: create it from the Library, which also lets you manage your saved metrics.

image-20261014-094846.png


Last updated: