<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jonathan Chia on Medium]]></title>
        <description><![CDATA[Stories by Jonathan Chia on Medium]]></description>
        <link>https://medium.com/@jonathan.chia_60884?source=rss-49bca83c092d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*6Sa4VtNtey-M-I_f</url>
            <title>Stories by Jonathan Chia on Medium</title>
            <link>https://medium.com/@jonathan.chia_60884?source=rss-49bca83c092d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:03:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jonathan.chia_60884/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Day 0 Direct Cash Flow with Databricks Genie]]></title>
            <link>https://medium.com/@jonathan.chia_60884/building-a-day-0-direct-cash-flow-with-databricks-genie-127a18b19234?source=rss-49bca83c092d------2</link>
            <guid isPermaLink="false">https://medium.com/p/127a18b19234</guid>
            <category><![CDATA[databricks]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cash-flow-statement]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Jonathan Chia]]></dc:creator>
            <pubDate>Fri, 23 Oct 2026 00:00:20 GMT</pubDate>
            <atom:updated>2026-10-23T00:00:20.330Z</atom:updated>
            <content:encoded><![CDATA[<h4>How can finance teams get daily visibility into cash flow without waiting for month-end close?</h4><p>Mid-month, our CFO asked a simple question: <em>“Where are we on cash?”</em> My honest answer used to be <em>“we’ll know after close.”</em> So I set out to build a direct cash flow that updates every day, using Databricks Genie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8FU0_E6prznwMUkx8W2bw.png" /></figure><h3>TL;DR</h3><ul><li><strong>What it is:</strong> A direct cash flow that updates every day, so finance has it by Day 0 of close and can answer the CFO on any day of the month.</li><li><strong>The outcome:</strong> Our direct cash flow went from ready on Day 7 after close to updated daily, with 95% of cash activity automatically classified by Day 0. Monthly prep dropped from 8 hours to 1 hour.</li><li><strong>How I built it:</strong> I’m a finance manager, not a data engineer. Genie Code built the dashboard, Genie One answers the follow-up questions, and I supplied the finance rules.</li><li><strong>The lesson:</strong> AI makes the analysis fast. Finance-owned definitions keep it correct.</li></ul><h3>What is a Day 0 direct cash flow, and why does it matter?</h3><p>A Day 0 direct cash flow is a view of actual cash coming in (collections, funding) and going out (vendors, payroll) that updates daily, so it’s ready by Day 0 of close instead of Day 7.</p><p>Most finance teams don’t get a reliable direct cash flow until days or weeks after period-end. The bottleneck is classification. Enterprise resource planning (ERP) systems tag cash movements with generic types like “Bill Payment” or “Journal,” which don’t tell a CFO whether cash went to rent, contractors or cloud costs. Someone ends up rebuilding that mapping in a spreadsheet every month.</p><p>The CFO doesn’t only ask about cash at close. Mid-month, the questions are: <em>“Did collections come in as expected?”</em> and <em>“Is cash out running ahead of plan?”</em> A direct cash flow that updates daily answers that on any day of the month.</p><h3>What changed after we built a Day 0 direct cash flow?</h3><ul><li><strong>Timing:</strong> Ready on Day 7 after a full close, with no daily view → updated daily, with 95% of cash activity automatically classified by Day 0.</li><li><strong>CFO and ad hoc questions:</strong> High-level answers that needed manual analysis, or waiting for close → answered the same day from the dashboard or Genie One, down to the transaction.</li><li><strong>Monthly prep:</strong> 8 hours of exports and spreadsheet mapping → 1 hour reviewing exceptions.</li></ul><p>An unexpected benefit: the mapping rules became the documentation. Anyone asking why a payment landed in a given line can read the answer in a row.</p><h3>How did Databricks Genie help a finance team build and use a direct cash flow?</h3><p>Databricks Genie is Databricks’ family of AI experiences for working with data, grounded in your organization’s data and governed through Unity Catalog. I used two parts of it:</p><ul><li><strong>Genie Code to build the dashboard.</strong> Genie Code is the AI coding and data assistant in Databricks. I described what I wanted in plain English; Genie Code queried the general ledger, joined and deduplicated the data, and built the dashboard pages.</li><li><strong>Genie One to answer the follow-up questions.</strong> Genie One is Databricks’ AI coworker for business users. When the dashboard shows something unexpected, I ask Genie One directly instead of building a new report, for example: <em>“Which vendors drove the increase in cash out this month?”</em> or <em>“How do collections month-to-date compare with the same point last month?”</em></li></ul><p>My job was the finance logic. I built the dashboard one piece at a time, checking each piece against numbers I already trusted.</p><h3>How do you know what a vendor payment was actually for?</h3><p>This was the hardest problem I solved. A vendor payment hits the cash account as a single “Bill Payment” line that doesn’t say whether the cash went to rent, contractors or software. That information lives one step back, on the original bill, where accounts payable coded each line to a general ledger (GL) account.</p><p>So I traced every bill payment back to the bills it paid, and used the GL accounts on those bills to classify the cash outflow. A single payment that covered three bills could then split correctly across rent, contractors and software. Genie Code wrote the logic to follow each payment to its bills and pull the GL coding. Finance defined how each GL account rolls up to a cash flow line.</p><p>The result is a cash outflow view by what the money was spent on, not just by vendor or transaction type. That’s the view a CFO actually wants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vSEO0CxnCygYW2MwK8EvPA.png" /></figure><h3>Why does clean upstream data matter for a direct cash flow?</h3><p>A direct cash flow built this way is only as good as the data it reads from. If a bill is coded to the wrong GL account, the cash outflow lands in the wrong line, and no amount of AI downstream will fix that.</p><p>Two things made the biggest difference for us:</p><ul><li><strong>Bills coded to the right GL account at entry.</strong> Accurate coding in accounts payable flows straight through to the cash flow.</li><li><strong>Few manual reclasses after the fact.</strong> Every reclass journal is a correction the cash flow has to account for separately, and each one adds work to the exceptions list.</li></ul><p>Before building something similar, check how cleanly bills are coded today. Working with accounts payable on coding accuracy pays off twice: in the books, and in the cash flow.</p><h3>Why does AI need finance business context to get cash flow right?</h3><p>The same raw data can produce several plausible answers. “Total outflows” changes depending on whether intercompany funding is included, and “collections” changes depending on whether refunds are netted. Genie could write correct code from the start, but only finance could say which answer is the right one for the business.</p><p>The fix was to store that judgment where every tool can find it. In the dashboard, that’s data finance owns: a mapping table, an override log for one-off exceptions, and a view of anything not yet mapped. Every override leaves an audit trail.</p><p>For questions in Genie One, it’s <strong>Genie Ontology</strong>, the context layer that gives Genie a business-aware map of your organization. For example, I added a page to Genie Ontology stating that cash from our own intercompany entities is classified as funding, not as customer payments. Now when anyone asks Genie One about customer payments, intercompany transfers are left out, even if the person asking doesn’t know the rule exists. Because Genie One and Genie Code search the same ontology, a rule defined once applies to both.</p><h3>Key takeaways for finance teams</h3><ul><li><strong>Start with a report you already build by hand.</strong> You’ll know immediately whether the output is right.</li><li><strong>Own the rules, delegate the code.</strong> Your role shifts from building reports to owning definitions and reviewing exceptions.</li><li><strong>Use the dashboard for the standard view and Genie One for the “why.”</strong> You don’t need a new report for every follow-up question.</li><li><strong>Trace payments back to the bills.</strong> The GL coding on the original bill tells you what the cash was actually for.</li><li><strong>Fix data quality upstream.</strong> Clean bill coding and few reclasses matter more than anything you build downstream.</li><li><strong>Check AI output like an analyst’s work.</strong> Tie totals to the general ledger and spot-check large transactions.</li></ul><p>How does your team answer the mid-month <em>“where are we on cash?”</em> question today? I’d love to hear what’s worked for you in the comments.</p><h3>FAQ</h3><h4>Will this work with a different ERP or chart of accounts?</h4><p>The details will differ, but the pattern is the same: scope your cash accounts, map transaction types to cash flow lines, and manage exceptions.</p><h4>What’s the difference between Genie Code and Genie One?</h4><p>Genie Code is the AI coding and data assistant you use to build things, like queries and dashboards. Genie One is the interface business users use to ask questions and explore data.</p><h4>How does Genie know your company’s business rules?</h4><p>Through Genie Ontology. Genie picks up context from your existing dashboards, queries and metric definitions, and your team can add rules directly, such as “intercompany cash is funding, not a customer payment.” Genie One and Genie Code both use the same ontology.</p><h4>Is the data secure when using Genie?</h4><p>Genie runs on Unity Catalog permissions, so users only see data they’re already authorized to access.</p><h3>Learn more</h3><ul><li><a href="https://learn.microsoft.com/en-us/azure/databricks/genie/index/">Genie overview (Databricks docs)</a></li><li><a href="https://learn.microsoft.com/en-us/azure/databricks/dashboards/manage/dashboard-agent/">Use Genie Code for dashboard authoring (Databricks docs)</a></li><li><a href="https://learn.microsoft.com/en-us/azure/databricks/genie/genie-ontology/">Genie Ontology (Databricks docs)</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=127a18b19234" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>