After more than 20 years working with enterprise Data & BI architectures, I've been exploring a different approach to analytical applications.
What if users could start directly from a semantic model, rather than a predefined report?
This experiment led me to build PRISM BI, an independent conversational analytics application connected to Microsoft Fabric.
Architecture
PRISM separates three distinct layers:
- Semantic layer: Microsoft Fabric semantic models, including existing measures, dimensions and relationships.
- AI layer: interpretation of natural language, analytical planning and DAX query generation.
- Presentation layer: a lightweight React-based visualization engine that dynamically renders analytical results.
The semantic model remains the foundation of the analytical experience.
Building a dynamic visualization engine
The React engine currently supports 14 visualization types, including bar charts, time series, scatter plots, treemaps, heatmaps, donut charts and geographic maps.
Users can change visualization types, interact with data through global cross-filtering, customize colors and reorganize their analytical workspace.
A deterministic 2D packing algorithm evaluates multiple dashboard layouts using visual dimensions, column balance, available space and KPI placement.
Dashboards, conversations and visual preferences are persisted independently for each semantic model in the authenticated application.
AI where it matters
One of my main architectural decisions was to avoid using an LLM for operations that can be handled deterministically.
Changing visualization types, applying colors or reorganizing a dashboard requires no additional LLM calls.
This separation reduces latency, provider dependency and operational costs.
Managing AI costs
The public demo currently uses GLM-4.7-Flash through Cloudflare Workers AI.
PRISM implements budget reservations, token-based cost accounting and automatic reconciliation.
During a recent production validation, a revenue-by-country analysis required four LLM calls, with a total metered cost of $0.000611.
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.
Try the experiment
The public demo uses an AdventureWorks sample semantic model and requires no registration.
The demo has limited AI queries, but users can continue interacting with existing visualizations without consuming additional LLM quota.
Open questions
How far can conversational analytics extend traditional self-service BI?
Which operations genuinely benefit from AI, and which should remain deterministic?
I'm particularly interested in discussing these architectural trade-offs with developers, Data Engineers and BI architects.
Disclosure: This article was drafted with AI assistance based on my own development work and production observations.

Top comments (0)