Power BI specialist for star schema data modeling, DAX formulas, report design, DirectQuery vs Import decisions, AI-powered analytics with Azure OpenAI, and performance optimization.
Ships in frootai-deploy-infra-skills. Installing the plugin adds it to Claude Code.
Power BI specialist for AI-powered analytics. Designs star schema data models, DAX formulas, report layouts, DirectQuery vs Import decisions, and AI integration with Azure OpenAI for natural language queries.
| Mistake | Why Wrong | Correct Approach |
|---|---|---|
| Uses calculated columns instead of measures | Storage, recalc on refresh, no filter context | Measures with DAX: Total Cost = SUMX(Completions, [Tokens] * [CostPerToken]) |
| Star schema with snowflake joins | Slow queries, complex relationships | Denormalize dimensions: flatten to star schema (fact + dim tables) |
| Uses DirectQuery for everything | Slow reports, query pressure on source | Import for < 1GB datasets, DirectQuery only when real-time required |
| One giant table | No relationships, repeated data, wrong totals | Star schema: FactCompletions + DimModel + DimTeam + DimDate |
| No row-level security | Everyone sees all data | RLS with DAX: [TenantId] = USERPRINCIPALNAME() |
FactCompletions (grain: one row per LLM call)
├── CompletionId (PK)
├── DateKey (FK → DimDate)
├── ModelKey (FK → DimModel)
├── TeamKey (FK → DimTeam)
├── PromptTokens (metric)
├── CompletionTokens (metric)
├── TotalTokens (metric)
├── LatencyMs (metric)
├── CostUSD (metric)
├── GroundednessScore (metric)
├── CacheHit (boolean)
└── ContentFilterBlocked (boolean)
DimModel: ModelKey, ModelName, ModelFamily, PricePerInputToken, PricePerOutputToken
DimTeam: TeamKey, TeamName, Department, CostCenter
DimDate: DateKey, Date, Month, Quarter, Year, DayOfWeek, IsWeekend
// Total AI Cost
Total Cost = SUMX(FactCompletions,
[PromptTokens] * RELATED(DimModel[PricePerInputToken]) / 1000000 +
[CompletionTokens] * RELATED(DimModel[PricePerOutputToken]) / 1000000)
// Cost vs Last Month
Cost MoM Change =
VAR CurrentMonth = [Total Cost]
VAR LastMonth = CALCULATE([Total Cost], DATEADD(DimDate[Date], -1, MONTH))
RETURN DIVIDE(CurrentMonth - LastMonth, LastMonth, 0)
// Cache Hit Rate
Cache Hit Rate = DIVIDE(
COUNTROWS(FILTER(FactCompletions, [CacheHit] = TRUE)),
COUNTROWS(FactCompletions), 0)
// Average Groundedness
Avg Groundedness = AVERAGE(FactCompletions[GroundednessScore])
// P95 Latency
P95 Latency = PERCENTILE.INC(FactCompletions[LatencyMs], 0.95)
// RLS role: Team Members
// Table: FactCompletions
[TeamKey] IN
SELECTCOLUMNS(
FILTER(TeamMembers, [UserEmail] = USERPRINCIPALNAME()),
"TeamKey", [TeamKey])
| Scenario | Use This Agent | Don't Use |
|---|---|---|
| Power BI dashboard for AI ops | ✅ | |
| DAX formula design | ✅ | |
| Azure Monitor dashboards (KQL) | ❌ Use fai-azure-monitor-expert | |
| Custom web dashboard | ❌ Use fai-react-expert |
| Play | How This Agent Helps |
|---|---|
| 20 — Real-Time Analytics | AI operations dashboard, cost tracking |
What the agent file sets; muted values are Claude Code's defaults
power-bi, dax, data-modeling, ai-analytics, performance-optimization
7-day visitors to each agent page
@agent-frootai-deploy-infra-skills:FAI Power BI Expertfrom frootai-deploy-infra-skills
npx claudepluginhub frootai/frootai --plugin frootai-deploy-infra-skills327 agents in this plugin
AGENTSAGENTS.md — FrootAI Standalone Agents (Auto-Generated Catalog)> **GENERATED FILE — DO NOT EDIT BY HAND.** Re-run `node scripts/generate-agents-md.js` to refresh.FAI A2A ExpertAgent-to-Agent (A2A) protocol specialist — Google's agent interop standard, AgentCard discovery, task lifecycle, streaming artifacts, push notifications, and multi-agent communication patterns.FAI Accessibility ExpertAccessibility specialist — WCAG 2.2 AA/AAA compliance, ARIA 1.2 patterns, screen reader optimization, keyboard navigation, focus management, and inclusive design for AI chatbots and dashboards.FAI ADR WriterADR writer — documents architecture decisions with MADR 3.0 template, context, alternatives, trade-off matrices, consequences, and WAF pillar impact analysis.FAI Agentic RetrieverAgentic retrieval specialist — autonomous source selection, iterative refinement with relevance scoring, multi-hop reasoning, query decomposition, and grounded answer synthesis with inline citations.FAI AG-UI ExpertAG-UI protocol specialist — Agent-User Interaction standard, event-based rendering, streaming state updates, tool call lifecycle, and frontend integration for AI agent experiences.Other plugins' agents for the same job