cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Moving average calculation in Databricks AI/BI dashboard

meljung
New Contributor II

So, I can't figure out how to do moving average as custom calculation in Databricks dashboard. I'm applying many different filters and the denominator of the metric has to change dynamically based on the chosen filters. So, in this case using `Custom Calculation` worked fine and example calculation of the metric is shown below. But now I'm facing a problem where I need to take a moving average of this dynamically calculated metric. I can't do the calculation in the query because the calculation wouldn't be correct when filtered. I also can't use parameters as filters because some business use cases limit the parameters. I'd appreciate if you have any suggestions.

Screenshot 2025-06-17 134351.png

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now