<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: patrick imbault</title>
    <description>The latest articles on DEV Community by patrick imbault (@patrickimbault).</description>
    <link>https://dev.to/patrickimbault</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4265368%2Fbef1566b-6d09-4e68-aa49-c9caae5ab8a4.jpg</url>
      <title>DEV Community: patrick imbault</title>
      <link>https://dev.to/patrickimbault</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/patrickimbault"/>
    <language>en</language>
    <item>
      <title>Building PRISM BI: a conversational analytics engine with React, DAX and Microsoft Fabric</title>
      <dc:creator>patrick imbault</dc:creator>
      <pubDate>Wed, 25 Nov 2026 18:40:52 +0000</pubDate>
      <link>https://dev.to/patrickimbault/building-prism-bi-a-conversational-analytics-engine-with-react-dax-and-microsoft-fabric-2op0</link>
      <guid>https://dev.to/patrickimbault/building-prism-bi-a-conversational-analytics-engine-with-react-dax-and-microsoft-fabric-2op0</guid>
      <description>&lt;p&gt;After more than 20 years working with enterprise Data &amp;amp; BI architectures, I've been exploring a different approach to analytical applications.&lt;/p&gt;

&lt;p&gt;What if users could start directly from a semantic model, rather than a predefined report?&lt;/p&gt;

&lt;p&gt;This experiment led me to build &lt;strong&gt;PRISM BI&lt;/strong&gt;, an independent conversational analytics application connected to Microsoft Fabric.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwfiyb4ht2g5mxzjye7bj.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwfiyb4ht2g5mxzjye7bj.jpeg" alt=" " width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;p&gt;PRISM separates three distinct layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Semantic layer:&lt;/strong&gt; Microsoft Fabric semantic models, including existing measures, dimensions and relationships.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI layer:&lt;/strong&gt; interpretation of natural language, analytical planning and DAX query generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Presentation layer:&lt;/strong&gt; a lightweight React-based visualization engine that dynamically renders analytical results.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The semantic model remains the foundation of the analytical experience.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building a dynamic visualization engine
&lt;/h2&gt;

&lt;p&gt;The React engine currently supports 14 visualization types, including bar charts, time series, scatter plots, treemaps, heatmaps, donut charts and geographic maps.&lt;/p&gt;

&lt;p&gt;Users can change visualization types, interact with data through global cross-filtering, customize colors and reorganize their analytical workspace.&lt;/p&gt;

&lt;p&gt;A deterministic 2D packing algorithm evaluates multiple dashboard layouts using visual dimensions, column balance, available space and KPI placement.&lt;/p&gt;

&lt;p&gt;Dashboards, conversations and visual preferences are persisted independently for each semantic model in the authenticated application.&lt;/p&gt;

&lt;h2&gt;
  
  
  AI where it matters
&lt;/h2&gt;

&lt;p&gt;One of my main architectural decisions was to avoid using an LLM for operations that can be handled deterministically.&lt;/p&gt;

&lt;p&gt;Changing visualization types, applying colors or reorganizing a dashboard requires no additional LLM calls.&lt;/p&gt;

&lt;p&gt;This separation reduces latency, provider dependency and operational costs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Managing AI costs
&lt;/h2&gt;

&lt;p&gt;The public demo currently uses GLM-4.7-Flash through Cloudflare Workers AI.&lt;/p&gt;

&lt;p&gt;PRISM implements budget reservations, token-based cost accounting and automatic reconciliation.&lt;/p&gt;

&lt;p&gt;During a recent production validation, a revenue-by-country analysis required four LLM calls, with a total metered cost of &lt;strong&gt;$0.000611&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is a single measured request, not a general cost benchmark, but it illustrates why usage monitoring and provider selection matter when designing AI-powered applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try the experiment
&lt;/h2&gt;

&lt;p&gt;The public demo uses an AdventureWorks sample semantic model and requires no registration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://prism.zorveo.xyz/demo" rel="noopener noreferrer"&gt;https://prism.zorveo.xyz/demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The demo has limited AI queries, but users can continue interacting with existing visualizations without consuming additional LLM quota.&lt;/p&gt;

&lt;h2&gt;
  
  
  Open questions
&lt;/h2&gt;

&lt;p&gt;How far can conversational analytics extend traditional self-service BI?&lt;/p&gt;

&lt;p&gt;Which operations genuinely benefit from AI, and which should remain deterministic?&lt;/p&gt;

&lt;p&gt;I'm particularly interested in discussing these architectural trade-offs with developers, Data Engineers and BI architects.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: This article was drafted with AI assistance based on my own development work and production observations.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>ai</category>
      <category>react</category>
      <category>data</category>
    </item>
  </channel>
</rss>
