Skip to content

Commit

Permalink
metric units and segment coloring changelog and docs (#1521)
Browse files Browse the repository at this point in the history
* metric units and segment coloring changelog and docs

* update

* update

* english

* move
  • Loading branch information
mavlee authored Oct 9, 2024
1 parent 2a9ef9d commit ceddf51
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/changelogs/2024-10-08-revenue-analytics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: "Mixpanel Revenue Analytics"
slug: "2024-10-08-revenue-analytics"
hidden: false
createdAt:
updatedAt:
createdAt: "2024-10-08T17:59:02.165Z"
updatedAt: "2024-10-08T17:59:02.165Z"
date: "2024-10-08"
video: "https://www.loom.com/embed/14d5269de912476c949bd122ec3945a6?sid=f27eed4c-7fcb-4a4b-962c-63818b301800"
---
Expand Down
28 changes: 28 additions & 0 deletions pages/changelogs/2024-10-09-metric-units.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Set units for your metrics"
slug: "changelog-2024-10-09-metric-units"
hidden: false
createdAt: "2024-10-09T18:59:02.165Z"
updatedAt: "2024-10-09T18:59:02.165Z"
date: "2024-10-09"
thumbnail: "/changelog/metric-units.png"
---
![metric units](/changelog/metric-units.png)

Mixpanel now allows you to set the units for each of your metrics. You can set the unit, the precision, and whether or not you want an abbreviated value. This gets updated for tooltips as well as in the table below the chart.

Some common uses for this:
- Create a % based formula, and add the % unit so it's clear what the metric is measuring
- Revenue based metrics, adding a $ symbol to know what currency is involved

<div style={{position: 'relative', paddingBottom: '64.90384615384616%', height: 0}}>
<iframe src="https://www.loom.com/embed/da48de90f0fb4e72872b401cad8ed18f"
frameBorder="0"
webkitallowfullscreen="true" mozallowfullscreen="true" allowFullScreen
style={{position: 'absolute', 'top': 0, 'left': 0, 'width': '100%', 'height': '100%'}}>
</iframe>
</div>

You can also save the unit to a formula so that future uses of that formula will already be configured with the right unit. You can learn more in documentation [here](/docs/features/chart-customization#metric-units)

Note: this feature is available only for enterprise plans currently.
28 changes: 28 additions & 0 deletions pages/changelogs/2024-10-09-segment-coloring.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "Choose colors for your segments"
slug: "changelog-2024-10-09-segment-coloring"
hidden: false
createdAt: "2024-10-09T19:59:02.165Z"
updatedAt: "2024-10-09T19:59:02.165Z"
date: "2024-10-09"
thumbnail: "/changelog/segment-coloring.png"
---
![segment coloring](/changelog/segment-coloring.png)

Mixpanel now allows you to select the colors of various segments in your reports. You can choose the color for a particular segment by clicking the legend at the top of the chart. Choose between colors that exist in the theme, or choose an entirely separate color.

Some common uses for this:
- Highlight a particular segment for emphasis
- On boards with the same breakdown repeatedly, set the colors for segments so they can be aligned across the board

<div style={{position: 'relative', paddingBottom: '64.90384615384616%', height: 0}}>
<iframe src="https://www.loom.com/embed/164cee809f034b6cb8db3e67adfd3d71"
frameBorder="0"
webkitallowfullscreen="true" mozallowfullscreen="true" allowFullScreen
style={{position: 'absolute', 'top': 0, 'left': 0, 'width': '100%', 'height': '100%'}}>
</iframe>
</div>

Color selection is available on both boards and reports, so you can easily update the segment colors for a report on a board as well. You can learn more in documentation [here](/docs/features/chart-customization#segment-coloring)

Note: this feature is available only for enterprise plans currently.
23 changes: 23 additions & 0 deletions pages/docs/features/chart-customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,29 @@ For the x-axis, you have access to the follow customizations:

For every metric in your report, they by default assigned to the left y-axis. To visualize correlation between different metrics on different scales, it can be useful to use a secondary y-axis on the right. You can select the left or right buttons for each metric to choose which axis the metric is assigned to.

## Metric Units

![Metric Unit](/metric-unit.png)

You will find unit configuration in the bottom left of every metric block. This space allows you to configure various aspects of a metric. These selections will update in the chart, tooltip, and the table below the chart. This is saveable to your report, and it will in turn persist to the board view.

Available configurations:
- Unit: choose from the presets, or choose custom to choose any unit for your metric. For certain metrics like conversion rate, Mixpanel will default to the appropriate unit
- Abbreviation: choose whether or not the result should be abbreviated. Useful for large numbers
- Precision: choose how much decimal precision should appear for values

### Units on Formula

![Formula Unit](/lexicon-formula-unit.png)

For any formula, you can save the unit configuration associated with it. In the example above, this formula is a percentage based metric. The `%` unit is saved to this formula. Any future usage of this formula across all reports will automatically use the `%` unit.

### Units on Numeric Properties

![Numeric Property Unit](/lexicon-property-unit.png)

In lexicon, for any numeric property you can save the unit configuration associated with it. For example, if you have a `price` property that you know is in `$`. You can set this, and any future usage of this property in measurements will default to using `$` so this no longer needs to be set on every usage.

## Segment Coloring

![Segment Color](/segment-coloring-1.png)
Expand Down
Binary file added public/changelog/metric-units.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/changelog/segment-coloring.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ceddf51

Please sign in to comment.