PBI Query
SkillDev toolsUse when writing or fixing DAX query text, choosing between run_query operations, validating results, testing RLS access for roles, or discovering schema before querying. For diagnosing why a query is slow, use mcp-engine-dax-performance; for wrong values, unexpected blanks, or inflated totals, use mcp-engine-dax-debugging; to persist logic as measures, use mcp-engine-semantic-authoring.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the PBI Query skill
What this skill tells your AI
The instructions your AI receives, as published by maxanatsko/mcp-engine-public in skills/mcp-engine-query/SKILL.md and read by ahel’s review.
Query authoring and execution through run_query.
Query workflow
- Discover schema first:
list_model{ "operation": "list", "spec": { "type": "tables" } }— one call per type (tables,columns,measures,relationships;spec.typetakes exactly one value) — or{ "operation": "search", "spec": { "query": "<name>", "mode": "name" } }for a named object. Never invent table, column, or measure names. - Pick the
run_queryoperation:execute— results and validation queries.test_access— role-by-role RLS validation (requires top-levelqueryandspec.roles).analyzeandvertipaqbelong to performance work — hand off tomcp-engine-dax-performance.
- Keep the first
executescoped:TOPNof at most 100 rows with an explicitORDER BY, or a targeted aggregation. Expand only after the shape is confirmed correct. - Treat
nullin results as DAXBLANKsemantics, andtruncated: trueas a row cap, not missing data.
Author safely
- Read dax-query-guide before writing new or corrected query text — quoting, naming, and structure rules live there.
- Add
ORDER BYto any multi-row output so results are stable and comparable across runs.
Report results
After query work, report:
- The exact DAX text run and the
run_queryoperation used. - Row count returned and whether results were truncated.
- The answer to the user's question, stated separately from raw output.
Signals
- GitHub stars
- 256
- Forks
- 65
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
mcp-engine-query- Source
- github.com/maxanatsko/mcp-engine-public