metabase / metabase/metabase

Expose some form of the metric definition when using a metric

Open
#68,015 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.Auto triaged .Team/QueryingPlatform Administration/Metrics & Segments Querying/Metrics Semantic Layer/Metrics Type:New Feature
Dominant language
Clojure
Stars
49.3k
Forks
6.8k
Avg merge
1d 13h
Merged PRs (30d)
653

Description

**What problem will this feature request solve?**
If a user doesn't have permissions to edit the metric definition but can still view/use it, there's no way for the user to be able to see what is the underlying definition of that metric. You can only see the name of it, with no way to see how the metric is calculated.

Image

**Describe the solution you'd like.**
Expose a way to show the underlying formula of a metric so that users can better understand what the metric is.

I suppose metric creators could also be more explicit in their metric title and descriptions to give users a better idea of what the metric is.
Even for the metrics creator themselves, being able to see the metric definition without needing to click the three dots and be taken to a different page would greatly improve the experience of these metrics being easier to use (by showing what it means right next to where you use it).

**How does this feature request impact you?**
Metrics are a source of truth for KPIs for this customer, and currently, this limitation makes it hard for the organization to use them effectively.

**Additional information**
Customer request

Related https://github.com/metabase/metabase/issues/68006

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files or tests are named. Start by reviewing related issue #68006 and the existing metric-use experience, then determine where metric definitions are displayed and how view permissions apply. Done means users can inspect a metric's underlying formula without needing edit access or navigating away.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
analytics, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.