list_dimensions
Identify valid dimensions for grouping one or more metrics. Pass comma-separated metric names to get only dimensions that work for all, preventing MetricFlow group-by errors.
Instructions
List the dimensions a given set of metrics can legitimately be grouped by.
Args:
metrics: One or more metric names, comma-separated. When several are
given, only dimensions valid for *all* of them are returned —
which is the honest answer, because MetricFlow will refuse a
group-by that has no join path to one of the metrics.
Dimension names are returned in MetricFlow's `entity__dimension` form,
which is exactly what `query_metrics` expects in `group_by`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||