---
id: 18264
lang: en
title: "GlowByte Built a BI Report Migrator: 90% of Load Scripts Move Automatically"
published_at: "2026-11-26 00:34:29"
source_name: "Habr AI"
source_url: "https://habr.com/ru/companies/glowbyte/articles/1112128/?utm_campaign=1112128&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18264"
categories: ["business", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# GlowByte Built a BI Report Migrator: 90% of Load Scripts Move Automatically

> **Краткая суть (BLUF):** Moving between BI systems usually takes months: by GlowByte's estimate, a hundred dashboards took about a year to migrate. Morphism AI converts a report from Qlik, Power BI or Tableau into an intermediate representation and builds a FineBI dashboard from it. On more than a thousand dashboards, over 90% of load scripts migrate automatically or with a close replacement. However, the measurements were made on test data, and the check must be repeated on the client's live data.  - The reconciliation module assigns a migration score from 0 to 100 and compares even screenshots - Data rows never reach the LLM: validation uses 200 synthetic rows per table - The first version was lost: backups were not enabled on the MVP, and it was restored from a laptop

Migrating BI reporting is one of the least-loved tasks in corporate analytics. Hundreds of dashboards have piled up in Qlik or Power BI, the license for the old system cannot be renewed in Russia, and the migration budget looks so steep that "living with it as is for another year" seems simpler. The GlowByte team described on Habr how, over the course of a year, they went from idea to Morphism AI, a product that migrates reports between BI systems using rules, agents and LLMs. The story is valuable not as an advertisement but as an honest account of engineering pitfalls.

## One Intermediary Instead of a Transition Matrix

If you build direct bridges between every pair of systems, the number of converters grows as the product of the number of sources and the number of targets. The authors chose a different scheme: a shared intermediary, an internal representation called IR. Any source (Qlik, Power BI, Tableau) is first translated into IR, and all targets, such as FineBI and FineReport, are assembled from it. A new target immediately gets every source that is already supported. Connecting a new format takes from a few days to a month.

The first prototype was built in two weeks. It could only handle Qlik Sense → FineBI and did not migrate all functions. The product then grew more connectors, drawing on GlowByte's work from earlier projects.

Most constructs are translated with ordinary rules. The LLM is brought in for the remainder, when the target BI has no direct equivalent. Every one of the 469 DAX functions has a predefined class: auto (carried over as is), analog (replaced with a close equivalent), manual (requires manual rework) and impossible (the target system has no such thing). On a sample of more than a thousand dashboards, over 85% of Power BI visualizations and over 90% of load scripts fall into the auto and analog categories.

## Four Walls and One Funny Bug

Load scripts could not be squeezed into SQL: Qlik and Power BI use row-by-row loops, where the next value depends on the previous one. The team had to bring in Airflow and Python-based task graphs. FineBI turned out to be a closed system with no ready-made way to create dashboards automatically, so the working method had to be found by trial and error. It then became clear that formulas translated into one "mile-long line" could not be maintained by an analyst. Now the code is formatted, so a person can pick up the result.

The fourth wall was the loss of the first version. Backups were not enabled for the MVP in order to avoid paying for them, the environment burned down, and it was restored over several days from a personal laptop. The authors' conclusion is straightforward: pay for backups.

The bugs are also telling. A double quotation mark in a column name broke the entire dashboard in FineBI, because it counts quotes in pairs; now the migrator replaces it with a similar typographic character. Thin "actual versus plan" bars were disappearing because of default chart margins: on a short chart they consumed nearly all of the height. And an agent developer ran pkill -f, found its own shell among the matching processes and terminated itself. The project rules were then updated to allow stopping processes by PID only.

## Reconciliation Without Data Leaks

The central principle of trust is the reconciliation module. It compares the source and migrated dashboards at the level of data, measures and screenshots, and produces a migration score from 0 to 100. For validation, synthetic data is generated based on table structure and column quantiles: by default 200 rows per table, with 10% of rows seeded with edge values (22 kinds, including NULLs and empty strings, February 29, a comma instead of a decimal point, leading zeros). The seed is fixed, so the dataset is reproducible byte for byte. The original application and the assembled data mart receive the same dataset.

If the numbers do not match, an agent loop is triggered. The root cause is turned into a new platform rule, so the same discrepancy is analyzed only once.

Security is built into the architecture rather than relying on an instruction to the model: only the structure of the report (tables, measures, formulas, visualizations) enters the IR and the LLM, and data rows never reach them. Only the reconciliation module on the test bench can read rows, and it outputs only statuses and numbers. The authors are explicit that claiming the product never reads data at all would be untrue.

## Limitations

The migrator produces a technical copy and does not optimize anything: a poor report on input yields an equally poor one on output. Charts built on Tableau calculated measures (year-over-year) migrate with manual rework, the Bing map in Power BI is not verified pixel for pixel, and Qlik macros and triggers, along with write-back to the database, do not migrate.

Two things remain unverified. First, behavior on the customer's real data: 200 rows per table do not cover rare combinations of values. Second, the savings in time and money: "a hundred dashboards in two weeks instead of a year" is described as an expert estimate, not a measurement. The only confirmed case is a risk-management report from Tableau with pixel-precise layout: through an adapter to FineReport it scored 100 out of 100 by the migrator's assessment, and the customer's users confirmed the same score.

For those building agentic systems, the lesson is general. Limit in advance what the model can see at all, rather than explaining prohibitions to it. Assign routine work to rules and keep the LLM for the tail. Verify results with a separate deterministic module, and keep backups even for a prototype.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/companies/glowbyte/articles/1112128/?utm_campaign=1112128&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18264
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
