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? 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group