What you'll learn
By the end of this article, you'll be able to:
- Choose when to use the Metric Library and when to use the current metric editor during the beta.
- Find, view and copy any metric in the Metric Library.
- Configure calculations, permissions, aggregation, filters and time functions for a metric.
- Edit, copy and delete an existing metric.
Before you begin: You need the CanCreateMetric permission to open the Metric Library. Editing needs CanEditMetric and deleting needs CanDeleteMetric. Ask your One Model admin if any of these are missing.
If you want to learn about metrics in general and are unsure how to build a metric, please read How to create Metrics first.
What is the new Metric Library
The Metric Library [/App/Metrics/Create] is a new version of the existing Create/Edit metric page [/Metrics/Create]. While it is in Beta, both pages are running in parallel.
Both pages read and save the same metrics, so a metric you create or edit in one appears straight away in the other, with the same metric ID. Open the Metric Library from Data > Metric Library BETA, or keep using the current editor from Explore > Create / Edit.
We’d like to hear what works and what doesn’t while the page is in beta, so share your feedback via the Feedback Form.
The new page comes with exciting new features, including
- Separate View mode. Open any metric to inspect it without risk of changing it. Each metric has its own URL, so you can bookmark it or share it.
- Resizable metric list. Drag the edge of the left panel to make it wider or narrower.
- Faster search. Search by metric name or metric ID. Each metric shows its ID next to its name, so similar names are easy to tell apart.
- Easier permission setup. Search data access roles, and sort them by selected or unselected.
- Simpler calculation building. Add metrics, columns and time fields from a pop-up picker instead of dragging them in.
- Clearer filters. Search dimensions and dimension nodes, and remove a filter with one click on its chip.
- Improved validation and error handling. The page spots when one setting depends on another and tells you what to change before you save. When finding errors it highlights the specific section.
- Transparency of restricted metrics. Restricted metrics show a lock icon next to the metric name, and you can see each metric’s restriction settings.
- Metric IDs stay the same. Edit any part of a metric, including its type, and it keeps its ID, including the same URL.
Open the Metric Library
- Navigate to Data > Metric Library BETA.
The page opens with the metric list on the left and a blank metric form on the right.
The current metric editor is still available from Explore > Create / Edit while the Metric Library is in beta. Both work on the same metrics.
The minimum permission required is CanCreateMetric for a user to create and view Metrics on the new page.
Create a metric
- Click + (Add new metric) at the top of the metric list. A blank metric form opens.
- Fill in the Basic Info.
- Permissions: Select the roles that should be able to view this metric.
- The main difference compared to the old page is the Calculation step. Instead of adding metrics or tables from the left hand side panel, there is now a button called + Metrics / Columns / Time to add fields to a calculation.
- If the calculation contains a column, configure Aggregate Context.
- If required, add filters via the + Filter Nodes button.
- If required, configure Time Functions.
- Click Save.
When the metric saves, a "Metric saved successfully" message appears and the new metric opens in View mode, selected in the metric list. To discard a new metric, click Cancel instead of Save and confirm Leave.
Find and view a metric
Metrics are grouped by category and subcategory in the left panel.
- Enter a metric name, part of a name, or a metric ID in the search box. Matching categories expand automatically.
- Click a metric. Its full definition opens in View mode on the right.
- Click Show all in the Permissions section to see a full list of roles that can see the metric
View mode is read-only. Each metric has its own URL, so you can bookmark the page or send the link to a colleague.
Restricted Metrics
Some metrics have a restriction (see Restricted Metrics and Restricted Schemas for Surveys), a rule that hides results when a group is too small to report on safely, for example fewer than five employees. One Model sets up restrictions for you.
In the Metric Library, a lock icon marks a restricted metric in the metric list, and in the calculation of any other metric that uses it.
Open the metric and scroll to the Restriction section to see how the restriction is set up: the column it applies to, the condition and the minimum count. These settings are read-only. You can't copy a metric that has a restriction.
To add or change a restriction, contact One Model Support.
Copy a metric
Copying and editing a metric requires the permission CanEditMetric.
- Open the metric in View mode.
- Click Copy.
- Enter a New Metric Name and click Copy.
The copy is created in the same category and opens in View mode. Click Edit to change it.
Edit or Delete a metric
- Open the metric in View mode.
- Click Edit.
- Make your changes.
- Click Save, or click Cancel to discard your changes and return to View mode. Note: When changing a metric’s type in the Metric Library the metric keeps its ID. Storyboards and other metrics that use it keep working. Changes apply to everyone who uses the metric.
- Click on the trashcan icon on the bottom left to Delete a metric. Click Delete to confirm. Deleting a metric requires CanDeleteMetric permission.
Feedback Form
We invite our beta-testers to complete this FEEDBACK FORM to share what they liked about this feature, any bugs they encountered, and suggestions for future enhancements.
Comments
0 comments
Article is closed for comments.