<?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 Re: Query parameters in dashboardsQueries can optionally leverage parameters or static values. When in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/38464#M26639</link>
    <description>&lt;P&gt;Hi, I build a dashboard with dashboard parameters, it works pretty easy!&lt;/P&gt;&lt;P&gt;The advantage of dashboard parameters is that you do not have to set a default (it can be: all). This is convenient when you need to filter on values that change every time the query is run. However, my query-output can be long. The table has a warning that only xx rows are displayed.&lt;/P&gt;&lt;P&gt;It seems that values that certainly exist in the query output, show 'no data' when trying to select them in the parameter box. I suspect that only the 'displayed rows' deliver the values for the parameter. Is this correct?&lt;/P&gt;&lt;P&gt;I can think of two ways to avoid:&lt;/P&gt;&lt;P&gt;* reduce the number of selected rows. This requires prior knowledge, which I not always have&lt;/P&gt;&lt;P&gt;* use a query parameter instead of a dashboard parameter, but this one needs an explicit default value.&lt;/P&gt;&lt;P&gt;Does anyone have a hint on this one?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2023 09:31:59 GMT</pubDate>
    <dc:creator>Natalie_NL</dc:creator>
    <dc:date>2023-07-26T09:31:59Z</dc:date>
    <item>
      <title>Query parameters in dashboardsQueries can optionally leverage parameters or static values. When a visualization based on a parameterized query is adde...</title>
      <link>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/4727#M1374</link>
      <description>&lt;P&gt;&lt;B&gt;Q&lt;/B&gt;&lt;A href="https://docs.databricks.com/sql/user/dashboards/index.html?_ga=2.256674635.1762781581.1683351362-742045383.1682952714#id5" alt="https://docs.databricks.com/sql/user/dashboards/index.html?_ga=2.256674635.1762781581.1683351362-742045383.1682952714#id5" target="_blank"&gt;&lt;B&gt;uery parameters in dashboards&lt;/B&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Queries can optionally leverage parameters or static values. &lt;/LI&gt;&lt;LI&gt;When a visualization based on a parameterized query is added to a dashboard, the visualization can either be configured to use a:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Widget parameter&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Widget parameters are specific to a single visualization within a dashboard, appear within the visualization panel, and the parameter values specified apply only to the query underlying the visualization.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Dashboard parameter&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dashboard parameters can apply to multiple visualizations. When you add a visualization based on a parameterized query to a dashboard, by default the parameter will be added as a dashboard parameter.  A dashboard can have multiple dashboard parameters, each of which may apply to some visualizations and not to other visualizations.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Static value&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Static values are used in lieu of a parameter that responds to changes. Static values allow you to hard code a value in place of a parameter and will make the parameter “disappear” from the dashboard or widget where it previously appeared.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 06:55:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/4727#M1374</guid>
      <dc:creator>Priyag1</dc:creator>
      <dc:date>2023-05-06T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Query parameters in dashboardsQueries can optionally leverage parameters or static values. When a visualization based on a parameterized query is adde...</title>
      <link>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/4728#M1375</link>
      <description>&lt;P&gt;good info&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2023 07:04:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/4728#M1375</guid>
      <dc:creator>samhita</dc:creator>
      <dc:date>2023-05-06T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query parameters in dashboardsQueries can optionally leverage parameters or static values. When</title>
      <link>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/38464#M26639</link>
      <description>&lt;P&gt;Hi, I build a dashboard with dashboard parameters, it works pretty easy!&lt;/P&gt;&lt;P&gt;The advantage of dashboard parameters is that you do not have to set a default (it can be: all). This is convenient when you need to filter on values that change every time the query is run. However, my query-output can be long. The table has a warning that only xx rows are displayed.&lt;/P&gt;&lt;P&gt;It seems that values that certainly exist in the query output, show 'no data' when trying to select them in the parameter box. I suspect that only the 'displayed rows' deliver the values for the parameter. Is this correct?&lt;/P&gt;&lt;P&gt;I can think of two ways to avoid:&lt;/P&gt;&lt;P&gt;* reduce the number of selected rows. This requires prior knowledge, which I not always have&lt;/P&gt;&lt;P&gt;* use a query parameter instead of a dashboard parameter, but this one needs an explicit default value.&lt;/P&gt;&lt;P&gt;Does anyone have a hint on this one?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 09:31:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/query-parameters-in-dashboardsqueries-can-optionally-leverage/m-p/38464#M26639</guid>
      <dc:creator>Natalie_NL</dc:creator>
      <dc:date>2023-07-26T09:31:59Z</dc:date>
    </item>
  </channel>
</rss>

