metricflow icon indicating copy to clipboard operation
metricflow copied to clipboard

[SL-1286] [Feature] Support granularity for cumulative metrics

Open Jstein77 opened this issue 1 year ago • 1 comments

Is this your first time submitting a feature request?

  • [X] I have read the expectations for open source contributors
  • [X] I have searched the existing issues, and I could not find an existing issue for this feature
  • [X] I am requesting a straightforward extension of existing metricflow functionality, rather than a Big Idea better suited to a discussion

Describe the feature

I would like to be able to request cumulative metrics by granularities other than day. For example, if I request a cumulative metric monthly I would expect to see a row for each month, with the cumulative metric value for that given month.

Describe alternatives you've considered

This might be possible with some wrangling in my BI tool. Additionally, you could compute the rolling sum on the underlying model and make this work with non-additive dimensions.

Who will this benefit?

This feature helps make metricflow more expressive and simplifies computing cumulative metric for analytics engineers

Are you interested in contributing this feature?

No response

Anything else?

No response

SL-1286

Jstein77 avatar Oct 02 '23 17:10 Jstein77

Hi @Jstein77, do you have any timeline to share regarding development of this feature ? Cumulative metrics was decisive in our decision to move to the new semantic layer, but didn't realize we couldn't select the grain - so we're a bit stuck now! Many thanks!

This is its own milestone now, so canceling the task

courtneyholcomb avatar Jun 17 '24 17:06 courtneyholcomb