Hi @vvanag,
What you’re trying to do is understandable, but I wouldn’t recommend embedding an AI/BI dashboard back into a Databricks notebook with displayHTML and a raw iframe.
The documented embedding path for AI/BI Dashboards is to embed them in an external website or application, using the iframe code generated from the dashboard Share dialog. You can see that here: Embed a dashboard and Manage dashboard and Genie Space embedding.
If the goal is to keep the experience inside notebooks, there are a few better options. The simplest is to use a markdown link that opens the dashboard in a new tab instead of embedding it inline, which avoids the RPC conflict entirely. If you want an interactive embedded experience, a Databricks App or another external application is a better fit than a notebook iframe, and the public embedding docs also cover more advanced app-based options for external users. If the real goal is to keep the visuals in a notebook, another practical path is to query the underlying data and recreate the charts natively in Python with libraries like Plotly or Matplotlib.
The public notebook docs also point to the notebook-native dashboard options instead.. Dashboards in notebooks. That page covers notebook dashboards, and it also explains that only visualisations from SQL cells can be added to AI/BI Dashboards from notebooks.
If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.
Regards,
Ashwin | Delivery Solution Architect @ Databricks
Helping you build and scale the Data Intelligence Platform.
***Opinions are my own***