powerbi-to-sl
Skill by keboola
Migrates an existing Microsoft Power BI semantic model into a Keboola semantic layer. It is for data teams moving brownfield Power BI models to Keboola, from TMDL folders or per-table JSON.
Install powerbi-to-sl
Built from the published package, never by AI.
git clone --depth 1 https://github.com/keboola/ai-kit /tmp/ai-kit && mkdir -p ~/.claude/skills && cp -r /tmp/ai-kit/plugins/powerbi-to-sl/skills/powerbi-to-sl ~/.claude/skills/powerbi-to-slRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/keboola/ai-kit /tmp/ai-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ai-kit/plugins/powerbi-to-sl/skills/powerbi-to-sl ~/.gemini/antigravity-cli/skills/powerbi-to-slAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The powerbi-to-sl skill reads Power BI artifacts and converts them into Keboola semantic layer payloads. It accepts a TMDL folder extracted with the Microsoft Power BI Modeling MCP server in --readonly mode, which captures DAX and Power Query M expressions. It also accepts per-table JSON from older get_semantic_model calls, which lack M steps. Power BI tables map to semantic-dataset, measures to semantic-metric with DAX kept verbatim, and relationships to semantic-relationship.
The skill asks for a bucket prefix, model name and SQL dialect, then runs a migrator script that writes JSON files and a WARNINGS.md list. Output is validated against Keboola semantic JSON schemas. The user confirms before any push, which can go through sl-toolkit or the Keboola metastore REST API. It is aimed at teams with existing Power BI semantic models who want a Keboola semantic layer.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect input formatChecks a folder for TMDL files or *_semantic_layer.json files to pick the input format.
- Run migratorConverts Power BI tables, measures and relationships into Keboola semantic JSON files.
- Review warningsProduces WARNINGS.md listing DAX not translated, unmapped types and similar issues.
- Translate trivial DAXOptionally rewrites simple aggregations such as SUM, COUNT, DISTINCTCOUNT and AVERAGE into SQL.
- Validate payloadsChecks generated model, dataset, metric and relationship JSON against Keboola SL schemas.
- Push to metastorePushes payloads via sl-toolkit or the Keboola metastore REST API after user confirmation.
What you need
- Power BI TMDL folder or per-table JSON exports
- Python 3 with jsonschema installed
- Keboola Storage API token
- Keboola metastore URL
- Optional: sl-toolkit plugin for the push step
Try asking
- Migrate my Power BI TMDL folder into a Keboola semantic layer
- Convert these per-table JSON exports into Keboola semantic datasets
- Show the WARNINGS.md list from my last Power BI migration
Good to know
- Per-table JSON exports do not capture Power Query M steps.
- DAX measures are kept verbatim and need SQL translation, except trivial cases.
- Primary key detection is best effort and may need user input.
- Many-to-many relationships produce a warning instead of a direct mapping.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/powerbi-to-sl/skills/powerbi-to-sl/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to powerbi-to-sl
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
powerbi-to-sl: common questions
What Power BI inputs does it accept?
It accepts a TMDL folder extracted with the Power BI Modeling MCP server in --readonly mode, or per-table JSON from older get_semantic_model calls. The TMDL route is the canonical one because it keeps DAX and M expressions.
Does it translate DAX to SQL automatically?
DAX is preserved verbatim by default. Auto-translation of trivial cases is opt-in, and anything using CALCULATE, RELATED, time intelligence or variables stays flagged.
Does it push to Keboola without asking?
No. The skill requires user confirmation before any write, then pushes through sl-toolkit or the metastore REST API.
How do I install powerbi-to-sl?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is powerbi-to-sl free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is powerbi-to-sl safe to use?
It scores 49 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to powerbi-to-sl?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
