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: 

Calculated Field in Dashboards

SimonMcCor
New Contributor

Is there a way to create a calculated field in a dashboard from the data that has been put into it?

I have an aggregated dataset that goes into a dashboard, but using an average in the calculation will only work if I display the average by the grouped variables. e.g. Avg(Thing), grouped by X,Y will only be useful if I display it by X and Y at the same time.

If instead of average, I could use count() and sum() that could be used to calculate an average field in the dashboard, then I could use any filters on that dashboard and still get correct results. Is there an easy way to do this? And if not, how do I go about doing a feature request!

1 REPLY 1

117074
New Contributor III

Hi Kaniz,
For SQL dashboards how would you approach this? Given the example above every 'new calculation' added would require computation across the dataset again which re-runs the query (which can take a few minutes for some of the datasets we have). Is there a better approach than this? 

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