MinaSaad1

MinaSaad1 / pbi-cli

Public

Power BI CLI - Direct .NET TOM interop for token-efficient AI agent usage, built for Claude Code

14
6
100% credibility
Found Mar 29, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A user-friendly command-line tool that connects AI assistants to Power BI Desktop for easy management of data models, measures, relationships, and more.

How It Works

1
📰 Hear about a smart helper

A friend mentions a simple tool that lets your AI assistant handle tricky Power BI data setups effortlessly.

2
📥 Get the tool ready

Download and set up the helper with one easy step on your Windows computer.

3
🔗 Link to your report

Open your Power BI file on Desktop and connect the helper—it finds everything automatically.

4
🧠 Unlock AI superpowers

Your AI buddy like Claude instantly learns seven special skills for building, fixing, and securing your data world.

5
💬 Chat in plain words

Tell your AI what you need, like 'add sales measures' or 'check why this is slow', and watch it make changes.

🎉 Perfect data model ready

Your reports now have smart calculations, security, and speed—saving hours of manual work!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is pbi-cli?

pbi-cli is a Python CLI that connects directly to Power BI Desktop's semantic models, letting you query DAX, manage tables, measures, relationships, partitions, and RLS via simple commands like `pbi measure create` or `pbi dax execute`. It solves the pain of manual PBIX editing by enabling scripting, bulk ops, and TMDL export/import for git workflows on github power platform projects. Built with pythonnet for in-process .NET interop, it auto-detects running Power BI instances on Windows.

Why is it gaining traction?

Unlike github power bi visuals or power query scripts, pbi-cli offers full TOM access without external servers, delivering sub-second execution and JSON output for automation. Its killer hook: bundled skills that Claude Code auto-discovers, slashing token costs 100x for AI-driven modeling—say "create star schema" and it runs the CLI under the hood. REPL mode with tab completion keeps sessions persistent for rapid iteration.

Who should use this?

Power BI modelers pairing with Claude for DAX debugging, RLS testing, or bulk measures in enterprise reports. Teams on github power automate or power apps templates needing CLI-driven deployments. Consultants handling pbi tools cli tasks like partitioning for incremental refresh, especially if you're in pbi climate alliance-style data projects.

Verdict

Grab it if you're experimenting with AI on Power BI—solid docs, PyPI-ready, MIT-licensed—but with 14 stars and 1.0% credibility score, treat as early alpha for production. Test in a sandbox; contributions could accelerate maturity.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.