<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Display Pyspark Widget in UI Dashboard in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/display-pyspark-widget-in-ui-dashboard/m-p/112301#M1936</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a spark DF that I create a visual from, I added a dbutils widget to filter the visual. I want to display the visual in our current IU dashboards&amp;nbsp;(that were created with SQL datasets and calculated&amp;nbsp;measures) but when I click on the drop down below I only get the&amp;nbsp;option to add to a notebook dashboard not our current published dashboards like&amp;nbsp; which we created with the UI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Please advise.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Mar 2025 17:47:07 GMT</pubDate>
    <dc:creator>HeathDG1</dc:creator>
    <dc:date>2025-03-11T17:47:07Z</dc:date>
    <item>
      <title>Display Pyspark Widget in UI Dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/display-pyspark-widget-in-ui-dashboard/m-p/112301#M1936</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a spark DF that I create a visual from, I added a dbutils widget to filter the visual. I want to display the visual in our current IU dashboards&amp;nbsp;(that were created with SQL datasets and calculated&amp;nbsp;measures) but when I click on the drop down below I only get the&amp;nbsp;option to add to a notebook dashboard not our current published dashboards like&amp;nbsp; which we created with the UI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Please advise.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 17:47:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/display-pyspark-widget-in-ui-dashboard/m-p/112301#M1936</guid>
      <dc:creator>HeathDG1</dc:creator>
      <dc:date>2025-03-11T17:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display Pyspark Widget in UI Dashboard</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/display-pyspark-widget-in-ui-dashboard/m-p/112824#M1945</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/149385"&gt;@HeathDG1&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;It looks like your visualization was created in a Databricks Notebook using the dbutils widget for filtering. However, Databricks only allows SQL-based visualizations to be added to AI/BI dashboards, while notebook visuals can only be used in notebook dashboards, which is&amp;nbsp;why you don't see the option to add it. &lt;BR /&gt;To fix this, convert your spark DF into a SQL compatible dataset by saving it as a Delta table (df.write.saveAsTable("table_name")), then recreate the visuals in the UI dashboard using a SQL query&amp;nbsp;with parameter syntax (WHERE column_name = "some_value") instead of dbutils widgets.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 16:37:47 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/display-pyspark-widget-in-ui-dashboard/m-p/112824#M1945</guid>
      <dc:creator>Advika_</dc:creator>
      <dc:date>2025-03-17T16:37:47Z</dc:date>
    </item>
  </channel>
</rss>

