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: 

Forum Posts

MadelynM
by Databricks Employee
  • 3382 Views
  • 0 replies
  • 0 kudos

[Recap] Data + AI Summit 2024 - Warehousing & Analytics | Improve performance and increase insights

Here's your Data + AI Summit 2024 - Warehousing & Analytics recap as you use intelligent data warehousing to improve performance and increase your organization’s productivity with analytics, dashboards and insights.  Keynote: Data Warehouse presente...

Screenshot 2024-07-03 at 10.15.26 AM.png
Warehousing & Analytics
AI BI Dashboards
AI BI Genie
Databricks SQL
  • 3382 Views
  • 0 replies
  • 0 kudos
vidya_kothavale
by Contributor
  • 5016 Views
  • 5 replies
  • 3 kudos

Resolved! Issue with MongoDB Spark Connector in Databricks

 I followed the official Databricks documentation("https://docs.databricks.com/en/_extras/notebooks/source/mongodb.html")to integrate MongoDB Atlas with Spark by setting up the MongoDB Spark Connector and configuring the connection string in my Datab...

  • 5016 Views
  • 5 replies
  • 3 kudos
Latest Reply
NaveenBedadala
New Contributor II
  • 3 kudos

try using single-user cluster or non-isolation cluster instead of shared cluster

  • 3 kudos
4 More Replies
Stanciu_Cristi
by New Contributor III
  • 590 Views
  • 4 replies
  • 1 kudos

Resolved! Genie / Dashboard Workflow

I’m currently working with two workspaces – one for DEV and one for PROD.I’m trying to understand how I can keep the Genie/Dashboard functionalities in sync (mirrored) between these two environments. What is the best way to organize this workflow?Ide...

  • 590 Views
  • 4 replies
  • 1 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 1 kudos

  Hi ATN, Good question. Based on what I know, dataset_catalog and dataset_schema in the dashboard DAB resource currently apply to datasets that use SQL queries (i.e., the queryLines property), but they do not resolve for datasets that reference metr...

  • 1 kudos
3 More Replies
lkt1
by New Contributor II
  • 209 Views
  • 2 replies
  • 3 kudos

Configuring the MLflow summary tab

When I click on a trace in the Databricks MLflow UI, it defaults to opening a "summary" tab. I have a somewhat complex trace, so this summary is getting bloated and I would like to clean it up.Nowhere, as far as I can tell, is the summary tab describ...

  • 209 Views
  • 2 replies
  • 3 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 3 kudos

Hi @lkt1, I took a quick look and tested it in my workspace to better understand the issue you mentioned.       As of today, the Summary tab isn’t user‑configurable. What’s displayed there and how inputs/outputs are collapsed, or truncated, is enti...

  • 3 kudos
1 More Replies
diogofreitaspe
by New Contributor II
  • 971 Views
  • 6 replies
  • 2 kudos

Date filter not working with Oracle SQL query federation

I created an external connection to an Oracle Database 12c Standard Edition Release 12.1.0.2.0.The connection is working, I executed successfully a lot of queries with different filters and joins. But I couldn't find a way to make any date filter pus...

  • 971 Views
  • 6 replies
  • 2 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 2 kudos

Hi @diogofreitaspe, This is a known behavior with how the Lakehouse Federation Oracle connector serializes date and timestamp literals during predicate pushdown. When Databricks pushes the filter down to Oracle, the date value gets rendered as a bare...

  • 2 kudos
5 More Replies
smpa011
by New Contributor II
  • 422 Views
  • 3 replies
  • 0 kudos

Parity between Spark.sql and SQL Warehouse for Metric Views & Model Visualization

Hi everyone,I’m exploring the new Databricks Metric Views (Semantic Layer) and have two questions regarding programmatic management and UI visualization.1. Parser Disparity: spark.sql vs. SQL WarehouseI'm noticing that CREATE OR REPLACE VIEW ... WITH...

  • 422 Views
  • 3 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @smpa011, METRIC VIEW DDL ON ALL-PURPOSE COMPUTE (spark.sql / %sql) The CREATE VIEW ... WITH METRICS DDL requires Databricks Runtime 17.2 or above. This applies to both SQL warehouses and all-purpose clusters. If your notebook is attached to a clu...

  • 0 kudos
2 More Replies
Malthe
by Valued Contributor
  • 252 Views
  • 1 replies
  • 0 kudos

Resolved! Strange metric view window grouping interaction

With the new metric views, I am unable to understand the grouping logic in the following setup:I have a table with timestamps and I define dimensions as follows:dimension: - name: timestamp expr: timestamp - name: date expr: DATE(timestam...

  • 252 Views
  • 1 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @Malthe, This is a nuanced aspect of how metric views resolve window measure dimensions. The key behavior you are seeing comes down to how the metric view engine matches your query's GROUP BY columns to the dimensions defined in the window clause....

  • 0 kudos
RobTScot
by New Contributor
  • 244 Views
  • 3 replies
  • 1 kudos

GUID or concatenated string as a primary key in silver and gold data models

HiWe are in the process of designing and building new silver and gold layers (Star Schema). We will be using Databricks, which is new to the organisation.The silver layer will be modelled using classic 3NF, with SCD 7.The gold layer is a star schema....

  • 244 Views
  • 3 replies
  • 1 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 1 kudos

Hi @RobTScot, This is a common design decision in lakehouse data modeling, and the right answer depends on the layer, the tooling, and the downstream consumers. Here is a breakdown of the key considerations. SILVER LAYER (3NF WITH SCD 7) For silver t...

  • 1 kudos
2 More Replies
wrosa
by New Contributor
  • 274 Views
  • 1 replies
  • 0 kudos

Metric Views + Window Functions not supported

Hi @Hubert-Dudek I am getting following error: METRIC_VIEW_WINDOW_FUNCTION_NOT _SUPPORTED The metric view is not allowed to use window function (...) With the following definition:- name: Sales net Total- expr: SUM(MEASURE(`Sales net`)) OVER())Howeve...

  • 274 Views
  • 1 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @wrosa, The error you are seeing (METRIC_VIEW_WINDOW_FUNCTION_NOT_SUPPORTED) is expected behavior. Metric views do not allow raw SQL window functions like SUM(...) OVER() directly in a measure's expr definition. This is by design because metric vi...

  • 0 kudos
grace-markowski
by New Contributor
  • 170 Views
  • 1 replies
  • 0 kudos

Choropleth Map by County (FIPS) - Connecticut Not Mapping?

Hi everyone!Just wanted to jump on here to see if anyone is having issues with Connecticut not mapping on their choropleth map? We had several we were using to map # of healthcare providers in the country but just noticed that Connecticut was no long...

  • 170 Views
  • 1 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi, This is a known issue that stems from Connecticut's 2022 county reorganization and how the AI/BI Dashboard choropleth map resolves FIPS codes. WHAT'S HAPPENING In June 2022, the US Census Bureau officially replaced Connecticut's 8 traditional cou...

  • 0 kudos
Kaz1
by New Contributor
  • 210 Views
  • 3 replies
  • 0 kudos

dataframe.display() doesn't support data aggregation

Error: dataframe.display() doesn't support data aggregation. Use display(dataframe) for better results in Databricks notebooks.But I don't use dataframe.display! I use display(dataframe). This error occurs when creating a visualization in a databrick...

  • 210 Views
  • 3 replies
  • 0 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 0 kudos

Hi @Kaz1, I understand the frustration -- the error message is misleading because you ARE already using display(dataframe), which is the correct syntax. Let me explain what is actually happening and how to work around it. WHAT IS HAPPENING When you c...

  • 0 kudos
2 More Replies
a_d
by New Contributor II
  • 298 Views
  • 4 replies
  • 2 kudos

Resolved! flexible Calculated field in Dashboard changing with filters used

Hi guys,I am making a Dashboard where I want to show the AOV per Brand with a date filter to change the days used in the calculation.AOV = sales / ordersI have sales and orders per day and would like to have the AOV dependant on the Days selected.The...

  • 298 Views
  • 4 replies
  • 2 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 2 kudos

Hi @a_d - Thanks for confirming. Here is a good example. I've also tested it and given some snapshots below if it helps. My data looks something like the below.   You can see above the results (on the right side) an option to create a custom calcula...

  • 2 kudos
3 More Replies
ctgchris
by New Contributor III
  • 330 Views
  • 1 replies
  • 1 kudos

Databricks App how to setup lakebase postgres connection locally

I'm developing a FastAPI middleware app (Databricks App) that connects to both a SQL Warehouse (Unity Catalog) and a Lakebase PostgreSQL instance using async SQLAlchemy. The app works perfectly when deployed to Databricks, but I'm trying to set up lo...

  • 330 Views
  • 1 replies
  • 1 kudos
Latest Reply
Lu_Wang_ENB_DBX
Databricks Employee
  • 1 kudos

Summary You should be able to test your FastAPI endpoints locally. Lakebase supports direct external connections via the standard PostgreSQL wire protocol, meaning your local SQLAlchemy setup can directly query the Lakebase instance without needing t...

  • 1 kudos
Bahjat
by New Contributor III
  • 585 Views
  • 4 replies
  • 2 kudos

Resolved! AI/BI Dashboard Visualization Color Palette not working?

My team and I are building a Dashboard to present to our client (imbedded within an I-frame). Very recently, the color palette of the visualizations as well as the general theme section seem broken. To be more specific, if I try to update the color o...

  • 585 Views
  • 4 replies
  • 2 kudos
Latest Reply
Bahjat
New Contributor III
  • 2 kudos

Thanks for all the input team. I have escalated this through our data bricks support desk and they were able to resolve this quickly. The issue was resolved on Feb 14th 2026.

  • 2 kudos
3 More Replies
sahiljain
by New Contributor II
  • 302 Views
  • 3 replies
  • 1 kudos

Resolved! Translating Embedded Dashboard

Hi, I'm trying to embed a Databricks dashboard, but the language for labels like "Global Filters" always appears as English. Is there a way to make the dashboard display in Japanese when users view it as an iframe?I've already set the dashboard local...

Warehousing & Analytics
embedded dashboards
  • 302 Views
  • 3 replies
  • 1 kudos
Latest Reply
emma_s
Databricks Employee
  • 1 kudos

Hi, to do a feature request you'd need to speak to a member of your account team. If you're not sure who this is talk to your databricks administrator in your organisation.  Thanks, Emma

  • 1 kudos
2 More Replies
meljung
by New Contributor II
  • 1702 Views
  • 2 replies
  • 0 kudos

Resolved! Moving average calculation in Databricks AI/BI dashboard

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...

Screenshot 2025-06-17 134351.png
  • 1702 Views
  • 2 replies
  • 0 kudos
Latest Reply
davidray
New Contributor II
  • 0 kudos

You’re running into a current limitation in Databricks AI/BI dashboards. Right now, a moving average cannot be applied on top of a Custom Calculation when that metric itself is dynamically recalculated based on filters. Since your denominator changes...

  • 0 kudos
1 More Replies