CUSTOM METRICS

CM_project-intro

INTRO

The custom metric feature lets users create tailored metrics using formulas based on predefined data (e.g., revenue, impressions, service cost), helping them track performance that matches their business goals.

Although the feature is live, usability issues have limited adoption and efficiency. This project aims to improve the user experience by addressing these problems, while keeping the core functionality of custom metrics unchanged.

CM_intro1

KEY ISSUES

Full-screen mode

Full-screen mode cases loss of context: Users feel disoriented when entering the custom metric settings page because they lose context of their previous workflow.

Users struggle to find the right data

Users have to start from scratch when selecting data points, even when they are navigating from a widget setting

CM_keyissue1

No clarity on where to add/edit metrics

Users experience confusion when first entering the settings page, as it is unclear where to start.

Custom metric button position

Users experience confusion when first entering the settings page, as it is unclear where to start.

Option to scroll and select categories

The category list in the Custom Metrics modal can be confusing—users can add metrics to any category but only see them in widgets using that category. Limiting visible categories based on entry point could improve clarity.

Add category option

Users can add a category from this view, but the button is hidden and lacks context. It’s likely unnecessary and may confuse users who mistake it for 'Add Custom Metric.

CM_keyissue2

Custom metric table

The Custom Metric table rows are too large and display too much irrelevant information.

Users mainly want a quick overview to see the formula of each metric they've created.
Most of the details shown per row are either not needed at this stage or are auto-generated during formula creation, and could be hidden until then.

CM_keyissue3

USE CASE BREAKDOWN

USE CASE 1

  • Goal
    • Users should be able to see a list of available custom metric with key details.
  • Details:
    • Depending on where the user comes from, show the relevant custom metrics.
    • Relevant details: Name, formula, type, aggregation, comparison change

USE CASE 2

  • Goal
    • Users should be able to create, modify, and remove custom metrics with minimal effort.
  • Details:
    • Name
    • Formula
    • Selected metrics
    • Arithmetic: +, - , *, / , (,)
    • Type: Percent, Number, Currency, Date etc
    • Aggregation: Auto, Average, Sum, Distinct
    • Comparison change: Higher is better, Lower is better
    • Whether data-source-specific

ACCEPTANCE CRITERIA 1

Custom metric editing area: drawer solution

Users can create and edit Custom Metrics in a drawer view. In widget settings, we’ll choose between showing all metrics (including custom) in one dropdown or adding a separate "Custom Metrics" select. Clicking the Custom Metrics button opens a table with existing metrics for the selected integration and category. Users can add new metrics via a slide-up panel within the same drawer.

New table setup: kind of metrics

Custom Metrics have two types: integration-level (general) and data source–level (local). Integration-level metrics are standard and saved globally. Local metrics are widget-specific, marked with a “DS” tag, and users are notified during editing. All metrics are sorted alphabetically in the table.

New table setup: relevant information

The Custom Metrics table now has four read-only columns: Name, Formula (as chips), Type (icon), and Impact (icon). Aggregation has been removed, as it only applies to Google Sheets metrics.

ACCEPTANCE CRITERIA 2

Custom Metric Creation Flow

Custom Metrics are added or edited in a slide-up drawer within widget settings for better context and usability. Users click "+ Add Custom Metric" to open the panel and input name, formula, type (auto-detected), and impact. Validation provides real-time feedback, and alerts appear when metrics are saved at the data source level.

Edit or Delete Custom Metrics

Each Custom Metric row includes a menu with Edit and Delete options. Edit opens the formula editor; Delete prompts a confirmation and removes the metric from lists and widgets, without affecting historical data. Edits only apply after saving, with warnings shown if changes impact existing dashboards.

Usability & Efficiency

The drawer is lightweight and consistent with existing patterns, preserving user progress. Creating, editing, and deleting metrics is smooth and clear, ensuring efficient workflows.

DESIGN SOLUTION

Creation of a new Custom Metric

CM_design1

When on widget settings, the users can reach
custom metrics feature from
Dimension and Metrics section.

CM_Cover2bis

Users can search existing Custom Metrics via the select menu or add a new one
using the “Add Custom Metric” button next to the label.
Clicking it opens the drawer directly at the Custom Metrics level.

CM_design3

The drawer shows a header with integration name, data source,
and category—matching the widget settings view. Users can now create metrics
only for the widget’s category. Below, a metrics table (or empty state) appears,
with an “Add Custom Metric” button opening a slide-up panel
for contextual, streamlined creation.

CM_design4

Clicking “Add Custom Metric” or pulling up the handle reveals the formula editor panel.
Users enter a name, build the formula by typing or selecting metrics and operators, set the type
(auto-detected for single metrics or selectable for multiple), and define the impact.
Clicking “Save” adds the metric; closing the panel discards changes.

CM_design5

Users can type the name of the custom metric in the relevant input field.

This will be reflected in the first cell of the custom metric row.

CM_design6

Users can either access the metrics list by clicking on the Add metric button
or by clicking directly in the formula field. For this showcase we only see the firt option.

After clicking, a dropdown will appear showing available
metrics and a search input field to filter the available metrics.

CM_design7bis

After selecting a metric, the dropdown closes, a validation chip appears,
the metric chip is added to the editor, Type and Impact
are auto-filled, and the Save button becomes active.

 

CM_design8

After adding the first metric, users can type or select operators from the menu.
Some icons are pending in the design system. Invalid formulas trigger error messages
and must end with a metric or closing parenthesis.
Saving is disabled until the formula is corrected.

 

CM_design9

Users can type numbers directly into the input field. If the input doesn’t match a metric,
no dropdown appears. Pressing Enter converts the number into a chip.
 

CM_design10

Once the formula is complete, a validation message appears.
If the formula includes two metrics, users can manually select
the Type from a limited set of valid options.
For single metrics, Type is auto-assigned.

CM_design11

Impact is now set directly within the formula editor, instead of in the table row.

CM_design12

If a custom metric includes dynamic metrics, it’s saved at the data source level.
A message appears above the input field to inform the user of this condition.

Overview of the custom metrics in the new table

CM_design13

Once users save their new custom metric, they can see it in the table.
From this overview they will only be able to read information.
To edit them, click on the three dots and select edit.

CM_design14

Users might create very long formulas in each row cell,
this means that part of it might partly hidden.

CM_design15

If users go over the formula with their mouse,
they will be able to see a tooltip that will sum up the entire formula.

CM_design16

Since now the type has become an icon, users who aren’t familiar with the element,
can hover it and get a tooltip that will explain what kind of type it is.

CM_design17

Since now Impact (former Comparison Change) has become an icon,
users who aren’t familiar with the element can hover over it
and get a tooltip that explains the type.

CM_design18

Clicking the three-dots icon opens a menu with two options:
Edit to modify the custom metric, and Delete to remove it from the list.

 
 

CM_design19

To delete a custom metric, users click the three-dots menu,
select Delete, and confirm the action in a standard pop-up dialog.

 

CM_design21

When the amount of custom metric rows exceeds the max-height
of the table list, the behaviour of the list content become scrollable.
Users will be able to scroll inside the list to reach the desired custom metric.


This choice wants to keep the list in place and leave
the add custom metrics button always visible.

 

Apply new custom metric to widget

CM_Cover2bis

When the users search through the available metrics, they can find
the custom metrics in the dropdown appearing below the custom metric select.

CM_design22

When searching, users can find available Custom Metrics
in the dropdown below the Custom Metric select.

CM_design23

When the users select a custom metric, a chip will appear under the metrics label.

CM_design24

Once the custom metrics have been defined and applied,
users see it on the widget settings level, in the label under
dimensions and metrics.

New_logo_white

GET IN TOUCH

PORTFOLIO 2025

© All rights reserved for the projects and content displayed.