Skip to main content

Release - July 18th, 2022

· 2 min read

✨ New ✨

Metric Time


**More Detail**

We're excited to be introducing the ability to assign non-primary time dimensions to measures in MetricFlow, preventing duplicate data source configs. If you want the measure to use a time dimension other than the primary time dimension, you will be able to specify an agg_time_dimension. The agg_time_dimension can be any time dimension defined in the dimension section.

- name: users_deleted
expr: 1
agg: sum
agg_time_dimension: deleted_at

This change will also remove the requirement to consistently name the primary time dimension across your model. However, there will still need to be a primary time dimension defined in a data source with measures.

In order to minimize breaking changes in the API and CLI, the engineering team built in a fix that will resolve your existing primary time to metric_time, so you will observe the output change when making a query, so all existing queries and materializations will continue to work.

Trim Data Toggle Updates


More Detail

We updated our "Trim" data toggle to be more clear. It is now an ON/OFF toggle that indicates whether trimming is on or off. When the toggle is on, data is trimmed for incomplete time periods. When the toggle is OFF, all data is returned. Visit the Query page or Metric Page under Granularity to see the new toggle.

🐛 Bug Fixes 🐛:

Annotation Creation on Chart


More Detail

The ability to click on a chart to create an annotation could cause accidental actions to create annotatoins. We updated this functionality so that annotations can now only be created when a user clicks + drags together. Visit any chart module to confirm.