<?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 Filter in DBX dashboards in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/filter-in-dbx-dashboards/m-p/71923#M34438</link>
    <description>&lt;P&gt;How to add a column from Table1 as a filter to Table2 (Also called as on-click action filter) in databricks Dashboards?&lt;BR /&gt;Both the tables are getting data through sql query&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2024 15:50:43 GMT</pubDate>
    <dc:creator>nehaa</dc:creator>
    <dc:date>2024-06-06T15:50:43Z</dc:date>
    <item>
      <title>Filter in DBX dashboards</title>
      <link>https://community.databricks.com/t5/data-engineering/filter-in-dbx-dashboards/m-p/71923#M34438</link>
      <description>&lt;P&gt;How to add a column from Table1 as a filter to Table2 (Also called as on-click action filter) in databricks Dashboards?&lt;BR /&gt;Both the tables are getting data through sql query&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 15:50:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/filter-in-dbx-dashboards/m-p/71923#M34438</guid>
      <dc:creator>nehaa</dc:creator>
      <dc:date>2024-06-06T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter in DBX dashboards</title>
      <link>https://community.databricks.com/t5/data-engineering/filter-in-dbx-dashboards/m-p/72150#M34504</link>
      <description>&lt;P&gt;&lt;SPAN&gt;To add a column from Table1 as a filter to Table2 in Databricks Dashboards, you can use the dashboard parameters feature. Here are the steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Create a visualization for each of your SQL queries. You can do this by clicking the '+' next to the Results tab and selecting Visualization. Save your visualizations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Create a dashboard using these visualizations. You can add a second widget to the dashboard from the Add drop-down list and select the appropriate query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Add a dashboard parameter to each query. This is done by adding a WHERE clause to your SQL query to filter the query by the desired column. For example, if you want to filter by a column named 'column1' from Table1, you would add this clause before the GROUP BY clause: WHERE column1 IN ({{ column1 }}).&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Update the dashboard to use the dashboard parameter. Open your dashboard, and for each visualization, click the kebab menu and then click Edit. In the Parameters section, click the pencil icon for the Widget parameter in the Value field. Change the Source to New dashboard parameter.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;&lt;SPAN&gt;Verify that 'column1' is selected as the Key value. Click OK and then click Save. The widget parameter for the visualization should no longer appear.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 08 Jun 2024 20:53:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/filter-in-dbx-dashboards/m-p/72150#M34504</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-06-08T20:53:55Z</dc:date>
    </item>
  </channel>
</rss>

