Measures¶
A concept says what a term means. A measure says how to compute it on one specific table.
“Spend” is the concept; SUM(cost_micros) / 1000000 on your Google Ads spend table is the
measure. One concept can have many measures, one per source asset, so the same business term
resolves correctly whichever table an answer is drawn from.
Important
Available on demand. Measures may not be enabled in your workspace by default. Contact your Adverity account manager to activate them.
Prerequisites¶
A glossary concept to attach the measure to
A connected data source bound to the workspace, with its assets discovered
Editor role to author, activate, approve, or deprecate a measure
Key concepts¶
Term |
What it means |
|---|---|
Status |
Draft, Active, or Deprecated. Only Active measures can be queried |
Approval |
A separate flag from status. A measure can be approved without being active, and active without being approved |
Origin |
Where the measure came from: User, Agent, Discovered, Derived, or Seeded |
Probe |
The result of a validation query run against your warehouse: Valid, Failed, or Unvalidated |
Scope |
A measure is tenant-wide by default, or scoped to a single workspace as an override |
Note
A measure that fails its warehouse probe can never leave Draft. This is deliberate: an implementation that does not run is not one Adverity Atlas will answer from.
Where measures appear¶
Measures live inside the Glossary, they have no separate top-level area:
On a concept: Open a concept from the Glossary and look for the Implementations panel, which lists every measure bound to that concept
In the review queue: From the Glossary, click Measures to open the full list, described in-product as “Review and approve the executable metric implementations proposed for your glossary concepts”
In Chat, Adverity Atlas lists and queries only the measures the workspace can use: tenant-wide measures and the workspace’s own overrides, on a data source actively bound to the workspace, on a table the binding does not hide, and whose concept the workspace’s glossary shows (see Concept layers).
Reviewing proposed measures¶
Measures are proposed automatically after classification, so the usual job is reviewing them rather than writing them.
Open the queue: Glossary, then Measures
Filter to what needs a decision: Scope and concept or asset
Approve and activate: One at a time, or in bulk
In detail:
Open the workspace Glossary and click Measures. The page opens on the Draft scope, which is the review queue.
Switch scope with the Draft / Active / All toggle. Narrow further with the All concepts and All assets selects. The count to the right reads “N measure(s)”.
Read the row. Source is the asset the measure runs on, SQL is the aggregate, Origin is where it came from, and Probe shows whether it has validated against the warehouse.
Click Approve & activate on a draft. This is the primary action because approval on its own does not make a measure queryable, it has to be active too.
To handle several at once, tick the checkboxes and click Approve & activate selected. Adverity Atlas reports how many were approved and activated, and calls out any that were approved but could not be activated because the probe failed.
The remaining actions are available where they apply: Activate on a measure that is not yet active, Approve on one that is not yet approved, and Deprecate on an active one.
Tip
If the queue is empty, the empty state says so. Draft measures proposed after classification appear under the Draft scope, so check the scope toggle before concluding there is nothing to review.
Validation against your warehouse¶
Adverity Atlas validates a measure in two ways before trusting it. The expression is checked against the columns that actually exist on the asset, and a probe query is run against the warehouse that returns no rows. The probe is what fills in the Probe column: Valid once it has succeeded cleanly, Failed with the warehouse’s own error when it has not, and Unvalidated before it has been tried.
High-confidence measures that Adverity Atlas proposes for you are probed and activated automatically once they come back clean, so the review queue holds the ones that genuinely need a decision rather than every proposal.
Restricting a source to approved metrics¶
Measures make a stricter governance mode possible. On a data source binding, turn on Approved metrics only under Query policy and agents can answer from active, approved measures on that source alone. Raw SQL and ad-hoc aggregates are refused.
This is the setting to reach for when a source carries data that must only ever be reported one way. Configure it per workspace on the binding, see Data governance.
Permissions¶
Roles are cumulative, so the role named is the lowest one that can take the action.
Action |
Required role |
|---|---|
View measures and the review queue |
Viewer |
Add an implementation |
Editor |
Edit, activate, approve, or deprecate |
Editor |
Set a source binding to approved metrics only |
Admin |
What’s next?¶
Adding concepts, the concept a measure implements
Data governance, bind a source and set its query policy
Chat, ask a question and see the measures answer it
Data sources, the assets measures are written against