<?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: Databrick AI/BI Dashboard cross-filtering on the map glitch in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121806#M2123</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/169492"&gt;@meljung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The issue seems to stem from using an aggregated metric (`count_distinct(user_id)`) in the map visual.&lt;BR /&gt;When clicking on a county, the map attempts to filter other visuals using the underlying dimension, but inconsistencies may occur if the visual relies&lt;BR /&gt;on an aggregation for interactivity.&lt;/P&gt;&lt;P&gt;Recommended Fix:&lt;/P&gt;&lt;P&gt;1. Use a clear dimension field (e.g., `county_name`) as the basis for filtering in the map. This ensures cross-filtering works reliably when a county is clicked.&lt;/P&gt;&lt;P&gt;2. Keep `count_distinct(user_id)` only as the measure for display, but ensure it's not used as the source of the filter.&lt;/P&gt;&lt;P&gt;3. Update other visuals (like charts) to be filterable by `county_name`. This helps them respond correctly when the map applies filters.&lt;/P&gt;&lt;P&gt;4. (Optional) Add a filter widget for `county_name` to verify the data behaves correctly when filtered manually.&lt;/P&gt;&lt;P&gt;--&amp;gt;Why this works:&lt;/P&gt;&lt;P&gt;Databricks dashboards propagate filters based on dimension values, not aggregates.&lt;BR /&gt;If the map uses an aggregated field without a consistent dimension for filtering, it may not emit filters properly, causing some regions to appear unresponsive.&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jun 2025 13:57:46 GMT</pubDate>
    <dc:creator>HariSankar</dc:creator>
    <dc:date>2025-06-15T13:57:46Z</dc:date>
    <item>
      <title>Databrick AI/BI Dashboard cross-filtering on the map glitch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121735#M2121</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I recently started using AI/BI dashboard and I'm struggling with this glitch in the map. The visual was generated without any issues but the cross-filtering of the map for example, if I click on a county, the rest of the chart values change, but there's always one county that doesn't work at all. Sometimes the county changes, but there's always one that doesn't work. If I use actual filter widget, the county that didn't work on the map works fine. I tried many ways to debug, they didn't work.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Checked the underlying data and the data exists - no issue here&lt;/LI&gt;&lt;LI&gt;Deleted and created new map, the issue still persisted&lt;/LI&gt;&lt;LI&gt;Created new dashboard and map visual, the issue still persisted&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For more context, the data is medical condition information where one user have multiple health conditions. The map was colored based on count_distinct of userid - an aggregated field. I tried using no aggregation, the map county cross-filter worked fine but the rest of the chart produced incorrect results. I don't know how to resolve this issue and if anyone encountered and resolved similar issue, please let me know.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Original data - map and charts" style="width: 364px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17510i1C33598B640A58D0/image-dimensions/364x243?v=v2" width="364" height="243" role="button" title="Screenshot 2025-06-13 135856.png" alt="Original data - map and charts" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Original data - map and charts&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="A county cross-filter applied, other charts changed" style="width: 363px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17511i0170F4B5B0653458/image-dimensions/363x241?v=v2" width="363" height="241" role="button" title="Screenshot 2025-06-13 135812.png" alt="A county cross-filter applied, other charts changed" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;A county cross-filter applied, other charts changed&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Another county cross-filter, the charts don't change." style="width: 370px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17512iA4EBBCDAA9150AE8/image-dimensions/370x244?v=v2" width="370" height="244" role="button" title="Screenshot 2025-06-13 135843.png" alt="Another county cross-filter, the charts don't change." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Another county cross-filter, the charts don't change.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 18:38:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121735#M2121</guid>
      <dc:creator>meljung</dc:creator>
      <dc:date>2025-06-13T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick AI/BI Dashboard cross-filtering on the map glitch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121806#M2123</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/169492"&gt;@meljung&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The issue seems to stem from using an aggregated metric (`count_distinct(user_id)`) in the map visual.&lt;BR /&gt;When clicking on a county, the map attempts to filter other visuals using the underlying dimension, but inconsistencies may occur if the visual relies&lt;BR /&gt;on an aggregation for interactivity.&lt;/P&gt;&lt;P&gt;Recommended Fix:&lt;/P&gt;&lt;P&gt;1. Use a clear dimension field (e.g., `county_name`) as the basis for filtering in the map. This ensures cross-filtering works reliably when a county is clicked.&lt;/P&gt;&lt;P&gt;2. Keep `count_distinct(user_id)` only as the measure for display, but ensure it's not used as the source of the filter.&lt;/P&gt;&lt;P&gt;3. Update other visuals (like charts) to be filterable by `county_name`. This helps them respond correctly when the map applies filters.&lt;/P&gt;&lt;P&gt;4. (Optional) Add a filter widget for `county_name` to verify the data behaves correctly when filtered manually.&lt;/P&gt;&lt;P&gt;--&amp;gt;Why this works:&lt;/P&gt;&lt;P&gt;Databricks dashboards propagate filters based on dimension values, not aggregates.&lt;BR /&gt;If the map uses an aggregated field without a consistent dimension for filtering, it may not emit filters properly, causing some regions to appear unresponsive.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jun 2025 13:57:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121806#M2123</guid>
      <dc:creator>HariSankar</dc:creator>
      <dc:date>2025-06-15T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Databrick AI/BI Dashboard cross-filtering on the map glitch</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121900#M2126</link>
      <description>&lt;P&gt;Thank you for replying&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/121576"&gt;@HariSankar&lt;/a&gt;. Goal of the map chart is to show total number of people by county. Otherwise, it would be just a map that doesn't have much purpose in the dashboard. I tried using `county_name` directly as you proposed and checked the data as well, the issue still persists.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 18:12:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/databrick-ai-bi-dashboard-cross-filtering-on-the-map-glitch/m-p/121900#M2126</guid>
      <dc:creator>meljung</dc:creator>
      <dc:date>2025-06-16T18:12:25Z</dc:date>
    </item>
  </channel>
</rss>

