Skip to main content

Release - December 1st, 2021

· 4 min read
Product Manager

✨ New ✨#

Limit Number of Dimensions Displayed on Chart and New Customizable Menu#

Details

Product Component

Metrics Catalog

More Detail

By default, we limit the number of lines we show on the chart when a user selects a grouping (25 dimensions). This applies to additive metrics only -ones created off of sum and sum_booleanmeasures. As a result, we added a new menu next to the grouping which allows users to choose how many lines/dimension values they want to show.

Verification Steps

Open "Edit Chart" for a metric that's additive, select a dimension grouping, and confirm next to the grouping menu there is a new menu that allows you to select how many lines to display on the chart (corresponding to respective dimension values).

CSV Export Updates and Dimension LImits#

Details

Product Component

Metrics Catalog

More detail

We recently made an update to our dimension grouping charts which limits the number of dimensions displayed on the chart to 25 (for additive metrics). The remaining metrics are bundled into an "other dimensions" category. As a result, we've updated our CSV export to open a modal that allows you to choose whether to export the full data set or the grouping as limited by the chart.

Verification Steps

Navigate to an additive metric and select a dimension grouping with more than 25 dimension values. Hit the Export CSV option and confirm you have options with how to export.

Homepage Chart Updates#

Details

Product Component

Metrics Catalog

More Detail

Previously, homepage charts displayed the last 30 data points, regardless of the date. With this update, “Mini” charts, like on the homepage, will show the past 90 days of data, and “Medium” format charts, like on the collections pages, will display 180 days of data. “Large” charts, found on the metrics page, will not change. We are making this change because visualizations could appear discontinuous or broken if there were long gaps between data points.

You will now see more data by default for metrics aggregated at a daily grain. For monthly granularities, you may see fewer data points i.e 3 data points in a 90-day window. This change does not affect charts on the metrics page, as you can customize the date range and granularity.

Verification steps

Visit Transform's homepage to view these updates

Link out to Metric directly from Model Page#

Details

Product Component

Metrics Catalog

More Detail

Transform's Model Page gives you a birds-eye view of all metrics and data sources. We added a link under each metric that takes you to the corresponding metric page.

Verification Steps

Navigate to any metric on the model page and find "Visit Metric" underneath the metric definition

Apply Default granularity from the Framework#

Details

Product Component

Metrics Catalog

More Detail

Transform's Metric Catalog previously showed a default daily time granularity for all metrics. We now automatically apply the granularity defined for the data source of the metric. You can specify a granularity of daily, weekly, monthly, quarterly, yearly in the YAML configuration, and the catalog will automatically apply that for all metrics build on top of the data source. Specifically, we will show the granularity that's applied in the menu and automatically hide any granularity options that don't make sense. This includes hiding options for the Date Selector that might not make sense given the metric's granularity

Verification Steps

Visit any metric that's built off of a data source that is not daily granularity and confirm the right granularity is applied in the Catalog.

🐛 Bug Fixes 🐛#

Authentication Token Bug#

Details

Product Component

Metrics Catalog

More Detail

Transform's application previously had no indication that a user's authentication was expired in certain cases, which leads the user to think they are still logged in. This leads to users running into many authentication errors on the graphs. We added an overlay that will warn the user that they need to log in again so they don't try to slice and dice data and get an authentication error.

Verification Steps

Confirm you don't get an "Unauthorized Credential" error on the graphs in Transform and instead receive a modal prompting you to login again.