<?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 Commentary functionality through Databricks in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/commentary-functionality-through-databricks/m-p/133040#M2262</link>
    <description>&lt;P&gt;In on-Prem we currently create dashboards which basically provides year over year or quarter over quarter comparison. When the variance is more than certain threshold for a particular data intersection business has the option to add comments, also someone else can review/approve the comments. We provide a link in the dashboard which takes the business user to the commentary page(developed in Java) when the variance is more than the threshold limit.&lt;/P&gt;&lt;P&gt;Do we able to provide similar functionality through Databricks.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Sep 2025 15:04:18 GMT</pubDate>
    <dc:creator>Shivaprasad</dc:creator>
    <dc:date>2025-09-25T15:04:18Z</dc:date>
    <item>
      <title>Commentary functionality through Databricks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/commentary-functionality-through-databricks/m-p/133040#M2262</link>
      <description>&lt;P&gt;In on-Prem we currently create dashboards which basically provides year over year or quarter over quarter comparison. When the variance is more than certain threshold for a particular data intersection business has the option to add comments, also someone else can review/approve the comments. We provide a link in the dashboard which takes the business user to the commentary page(developed in Java) when the variance is more than the threshold limit.&lt;/P&gt;&lt;P&gt;Do we able to provide similar functionality through Databricks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 15:04:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/commentary-functionality-through-databricks/m-p/133040#M2262</guid>
      <dc:creator>Shivaprasad</dc:creator>
      <dc:date>2025-09-25T15:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Commentary functionality through Databricks</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/commentary-functionality-through-databricks/m-p/133049#M2263</link>
      <description>&lt;P&gt;There is no inbuilt features to built-in “commentary workflow” like your Java app. But you can custom build one. Here are the steps to build one.&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Use Databricks SQL Dashboards or Lakeview Dashboards for your YoY/QoQ variance analysis.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Create a Delta table to store comments, approvals, and metadata. Something like this.This table can be secured with UC for RBAC (who can comment, who can approve).&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%sql

CREATE TABLE commentary (
  id BIGINT GENERATED ALWAYS AS IDENTITY,
  metric STRING,
  period STRING,
  variance DOUBLE,
  comment STRING,
  status STRING, -- e.g., 'Pending', 'Approved'
  created_by STRING,
  created_at TIMESTAMP,
  approved_by STRING,
  approved_at TIMESTAMP
);&lt;/LI-CODE&gt;&lt;P&gt;3.&amp;nbsp;Use Databricks SQL&amp;nbsp; to expose the data intersection (metric + period) where variance &amp;gt; threshold.&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;Build a custom UI (React/Next.js or Streamlit on Databricks) that:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--- Lists flagged variances.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;---Allows adding comments.&lt;/P&gt;&lt;P&gt;5.&amp;nbsp;In Lakeview Dashboards, you can add a custom URL action:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;----Example: &lt;A href="https://your-commentary-app?metric={{metric}}&amp;amp;period={{period}}" target="_blank"&gt;https://your-commentary-app?metric={{metric}}&amp;amp;period={{period}}&lt;/A&gt;&lt;/P&gt;&lt;P&gt;6.&amp;nbsp;Use Databricks Workflows or Jobs to:&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;---Trigger alerts when new variances exceed thresholds.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;---Send email/Slack notifications for pending approvals.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Sep 2025 18:38:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/commentary-functionality-through-databricks/m-p/133049#M2263</guid>
      <dc:creator>nayan_wylde</dc:creator>
      <dc:date>2025-09-25T18:38:00Z</dc:date>
    </item>
  </channel>
</rss>

