power-bi-custom-visual…
Vibe-code Power BI custom visuals end-to-end: scaffold a TypeScript project, iterate on src/visual.ts and capabilities.json,…
Configure row-level security (RLS) roles, object-level security, and perspectives for Power BI semantic models using pbi-cli. Invoke this skill whenever the user mentions "security", "RLS", "row-level security", "access control", "data restrictions", "who can see", "filter by
Claude Code
$ npx -y skills add MinaSaad1/pbi-cli --skill power-bi-security --agent claude-code
Codex
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a codex -y
Cursor
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a cursor -y
Gemini CLI
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a gemini-cli -y
GitHub Copilot
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a github-copilot -y
OpenCode
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a opencode -y
Windsurf
$ npx skills add MinaSaad1/pbi-cli --skill power-bi-security -a windsurf -y
name: Power BI Security description: Configure row-level security (RLS) roles, object-level security, and perspectives for Power BI semantic models using pbi-cli. Invoke this skill whenever the user mentions "security", "RLS", "row-level security", "access control", "data restrictions", "who can see", "filter by user", "perspectives", "limit visibility", or wants to restrict data access by role. tools: pbi-cli
Manage row-level security (RLS) and perspectives for Power BI models.
pipx install pbi-cli-tool pbi-cli skills install pbi connect
# List all security roles pbi security-role list # Get role details pbi security-role get "Regional Manager" # Create a new role pbi security-role create "Regional Manager" \ --description "Restricts data to user's region" # Delete a role pbi security-role delete "Regional Manager"
Perspectives control which tables and columns are visible to users:
# List all perspectives pbi perspective list # Create a perspective pbi perspective create "Sales View" # Delete a perspective pbi perspective delete "Sales View"
# 1. Create roles pbi security-role create "Sales Team" --description "Sales data only" pbi security-role create "Finance Team" --description "Finance data only" # 2. Verify roles were created pbi --json security-role list # 3. Export full model for version control (includes roles) pbi database export-tmdl ./model-backup/
# 1. Create perspectives for different audiences pbi perspective create "Executive Dashboard" pbi perspective create "Sales Detail" pbi perspective create "Finance Overview" # 2. Verify pbi --json perspective list
Create a role that filters by the authenticated user's region:
pbi security-role create "Region Filter" \ --description "Users see only their region's data"
Then define table permissions with DAX filter expressions in the model (via TMDL or Power BI Desktop).
pbi security-role create "Department Filter" \ --description "Users see only their department's data"
pbi security-role create "Manager View" \ --description "Managers see their direct reports' data"
Power BI CLI - semantic models (.NET TOM) and PBIR reports for token-efficient AI agent usage, built for Claude Code
Vibe-code Power BI custom visuals end-to-end: scaffold a TypeScript project, iterate on src/visual.ts and capabilities.json,…
Write, execute, and optimize DAX queries and measures for Power BI semantic models using pbi-cli. Invoke this skill whenever the…
Import and export TMDL/TMSL formats, manage model lifecycle with transactions, and version-control Power BI semantic models using…
Troubleshoot Power BI model performance, trace query execution, manage caches, and verify the pbi-cli environment using pbi-cli.…
Auto-document Power BI semantic models by extracting metadata, generating documentation, and cataloging all model objects using…
Add, remove, and manage page-level and visual-level filters on Power BI PBIR reports using pbi-cli. Invoke this skill whenever…
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…