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
  • 3588 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
  • 3588 Views
  • 0 replies
  • 0 kudos
ShawnRR
by New Contributor II
  • 614 Views
  • 2 replies
  • 0 kudos

Resolved! Is there a Sample Java Program using Databricks Connect Library to query a table In the Free Editio?

Hello,    I was wondering if there was sample code indicating how a java program might leverage Databricks Connect to query the table in the Free Edition of Databricks?   I would like to use Connect as I am trying to avoid JDBC and its overhead and t...

  • 614 Views
  • 2 replies
  • 0 kudos
Latest Reply
anuj_lathi
Databricks Employee
  • 0 kudos

Hi — welcome to Databricks! Unfortunately, Databricks Connect v2 (DBR 13.3+) does not support Java — it only supports Python, Scala, and R. The legacy v1 did support Java, but it's been deprecated and is end-of-support. That said, here are your optio...

  • 0 kudos
1 More Replies
jroots
by New Contributor II
  • 704 Views
  • 3 replies
  • 0 kudos

Resolved! Metric Views Window Period to Date not working

The documentation gives an example of a period to date measure. The intention is to give the sum (in this example) of orders in the current year to date. However, what actually happens is that the measure returns the result for the most recent period...

  • 704 Views
  • 3 replies
  • 0 kudos
Latest Reply
jroots
New Contributor II
  • 0 kudos

Hi Ashwin. Thanks for looking into this. Your description of the behaviour and the options matches my understanding, but from my perspective this is a defect: I don't think there's a reasonable interpretation of "period to date" (which is the documen...

  • 0 kudos
2 More Replies
brianz
by New Contributor
  • 327 Views
  • 2 replies
  • 0 kudos

Not seeing color scale in Databricks table

Hi - I saw in this dbx post that there is color scale as a column display type. https://docs.databricks.com/aws/en/dashboards/manage/visualizations/tablesHowever I don't see color scale as an option on my dbx. I only see tables for Basic, Image, HTML...

  • 327 Views
  • 2 replies
  • 0 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 0 kudos

Hi @brianz, @balajij8  is right. You can see from the docs that for table visualisations, the Display type list is Basic, Image, HTML, JSON (no Colour scale). For pivot tables, under Styles → Display type for fields added as Values, the options inclu...

  • 0 kudos
1 More Replies
lucca_luna
by New Contributor
  • 778 Views
  • 2 replies
  • 2 kudos

Resolved! Databricks Dashboards: Is there an equivalent to Power BI's SEMANTIC MODEL ?

Hello everyone,I am trying to create a cumulative support ticket chart. I need one line representing the cumulative sum of tickets by creation date, and another line for the cumulative sum by resolution date.While it's easy to achieve this by creatin...

  • 778 Views
  • 2 replies
  • 2 kudos
Latest Reply
Ashwin_DSA
Databricks Employee
  • 2 kudos

Hi @lucca_luna, Great question. The cross-filtering issue you're hitting is because the dashboard treats separate datasets as independent. The workaround is to reshape your data so both date dimensions (creation and resolution) live in a single colum...

  • 2 kudos
1 More Replies
brickster_2018
by Databricks Employee
  • 15914 Views
  • 4 replies
  • 2 kudos

Resolved! Dynamic Allocation vs Cluster Auto-scaling

How is Cluster auto-scaling in Databricks different from Dynamic Allocation in Yarn

  • 15914 Views
  • 4 replies
  • 2 kudos
Latest Reply
de-qrosh
New Contributor III
  • 2 kudos

From spark's documentation dynamic resource can be used on more then just YARN. Is it possible to use it in databricks as well and how does serverless work under the hood in these regards?

  • 2 kudos
3 More Replies
vidya_kothavale
by Contributor
  • 6193 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...

  • 6193 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
  • 2531 Views
  • 4 replies
  • 6 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...

  • 2531 Views
  • 4 replies
  • 6 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 6 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...

  • 6 kudos
3 More Replies
lkt1
by New Contributor III
  • 726 Views
  • 2 replies
  • 3 kudos

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

  • 726 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
  • 2746 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...

  • 2746 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
  • 1061 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...

  • 1061 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 II
  • 613 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...

  • 613 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
  • 933 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....

  • 933 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
grace-markowski
by New Contributor
  • 390 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...

  • 390 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
  • 746 Views
  • 3 replies
  • 1 kudos

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

  • 746 Views
  • 3 replies
  • 1 kudos
Latest Reply
SteveOstrowski
Databricks Employee
  • 1 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...

  • 1 kudos
2 More Replies
a_d
by New Contributor III
  • 780 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...

  • 780 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