admin管理员组文章数量:1318563
I’m working on a dashboard in Apache Superset and trying to create a cumulative metric for one of my visualizations. Here's the context:
- I have a dataset with columns such as date, category, and value.
- I want to calculate a cumulative sum of the value column over time (date) for each category.
My Attempts:
- I tried using the "Time Grain" and "Rolling Window" options, but I couldn’t get the cumulative metric for each category separately.
- I explored SQL-based approaches in the dataset editor, but I’m not sure how to properly write the query in Superset's SQL interface.
- I also looked for options in the chart configuration, but couldn’t find anything straightforward.
Is there a way to calculate cumulative metrics within Superset?
本文标签: How to Create a Cumulative Metric in Apache SupersetStack Overflow
版权声明:本文标题:How to Create a Cumulative Metric in Apache Superset? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742049058a2417964.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论