Skip to content
SK
All projects
DeliveredAgentic AINLPClient work

Tableau → Power BI Migration Agents

LLM agents and custom XML parsers that converted enterprise Tableau dashboards into Power BI equivalents at 85–90% accuracy.

Context
BiHub Solutions (Innovative Office Solutions)
Period
Feb 2025 — Apr 2025
My role
AI Engineer Intern — built the agents, the .twb parsers and the FastAPI service layer.

The problem

Migrating enterprise dashboards from Tableau to Power BI is slow, repetitive manual work — every chart, calculated field, filter and axis has to be rebuilt by hand in a different tool with a different query language.

Why it needed solving

Dashboard migration effort scales linearly with dashboard count, and organizations moving BI platforms have hundreds of them. Most of the work is mechanical translation, which is exactly what parsing plus an LLM can absorb.

The approach

Parse the Tableau workbook format directly to recover dashboard structure, then use LLM agents to generate the equivalent DAX and Power Query (M) for Power BI, exposed through a FastAPI service.

Architecture

  • Parser layer — custom parsers for Tableau (.twb) XML files extracting chart types, calculated fields, filters and axis configurations.
  • Agent layer — LangGraph/LangChain agents mapping extracted structures to Power BI equivalents.
  • Generation layer — LLM-driven DAX query and Power Query (M) script generation.
  • Service layer — FastAPI endpoints exposing the chatbot and automation agents to the rest of the pipeline.

Implementation

  • Wrote custom .twb XML parsers rather than relying on an LLM to read raw workbook files, so structural extraction stayed deterministic.
  • Handed the parsed structures to LangGraph/LangChain agents for the parts that genuinely need judgment — expression translation.
  • Generated DAX and Power Query (M) output targeted at Power BI's semantics rather than transliterating Tableau syntax.
  • Built the FastAPI service layer so the migration agents were callable from the broader pipeline.

AI/ML components

LangGraph/LangChain migration agents

LLM-driven DAX generation

LLM-driven Power Query (M) generation

Conversational interface over the migration pipeline

Challenges & how they were handled

Tableau calculated fields and Power BI DAX express similar ideas with different semantics — a literal translation produces valid code with wrong results.

Agent-driven translation targeting Power BI semantics, evaluated against project conversion criteria rather than syntactic similarity.

Feeding whole .twb files to an LLM wastes context and produces inconsistent structural extraction.

Deterministic XML parsers extracted structure first; the LLM only handled the expression-level translation.

Results

85–90%

Conversion accuracy

Project evaluation criteria

Measured against

Related work

ActiveClient work

Athena — Enterprise Agentic AI Platform

Avira Digital Technologies — internal product

Provider-agnostic LLM gateway, MCP tool servers, layered agent memory, guardrails and an LLM-as-judge evaluation harness.

LangChainCrewAILangGraphMCPSSE+7 more
ActiveClient work

Agentic Data Structuring & Query Platform

Avira Digital Technologies — BMS client

An orchestrator/sub-agent pipeline that turns raw multi-source data into tagged, queryable records — and answers questions about it in plain English.

LangGraphMCPTopic ModelingPostgreSQLPython+2 more