Power BI Custom Visual
Sankey Diagram for Power BI
AI-generated sankey diagram for Power BI. Describe what you need in plain English; download a ready-to-import .pbiviz file. Full TypeScript source included.
A Sankey diagram visualizes flow between nodes — how a quantity distributes and transforms as it moves between categories. In Power BI, Sankeys are the go-to visual for energy audits, customer-journey analytics, budget cascades, and multi-stage funnel analysis where a standard funnel chart can't show the branching between paths.
Native Power BI doesn't ship a Sankey. The AppSource marketplace has a handful, but they're generic: fixed layouts, opinionated color palettes, limited interactivity, per-user subscription fees that stack as your organization grows. Building one from scratch in TypeScript with D3.js takes roughly 40 hours of developer time — and then you maintain it.
VizForge generates a Power BI Sankey custom visual from a plain-English prompt. Describe your data shape and styling preferences; our AI writes the TypeScript visual, validates it against 24 quality rules, and packages a .pbiviz file you import directly into Power BI Desktop. You own the source code, can modify it in VS Code, and pay once per visual instead of per seat.
When to use a sankey diagram in Power BI
- Customer journey: acquisition channel → onboarding step → conversion or churn
- Budget cascade: total revenue → segment → cost bucket → net margin
- Energy / material flow audits (sources → intermediates → outputs)
- Multi-stage qualification funnels where candidates flow between named states
- Employee headcount movement (joins, exits, transfers between departments)
Example prompt
Example VizForge prompt
Sankey diagram showing customer flow from 5 acquisition channels through 3 onboarding steps to either Converted or Churned. Left-aligned node labels with percentages. Use a blue-to-green gradient for converted paths and red for churn.
Data shape required
Three columns: source (text), target (text), value (numeric). Each row is one flow segment. For multi-level Sankeys, chain source→target rows so the targets of one level appear as sources in the next.
Typical DAX measures
Total Flow = SUMX( FlowTable, FlowTable[Value] )
Flow to Churned =
CALCULATE( [Total Flow], FlowTable[Target] = "Churned" )
Conversion Share =
DIVIDE( [Flow to Churned], [Total Flow] )Free plan: 3 visuals per month. No credit card required.
FAQ
Does the Sankey work in Power BI Service or only Desktop?
Both. Generate the .pbiviz, import it into Power BI Desktop, build your report, publish to Service — the visual renders in the browser exactly as it does locally.
Can a Sankey cross-filter other visuals on the page?
Yes. Every VizForge-generated Sankey includes SelectionManager integration, so clicking a node or link acts as a slicer on the rest of the page.
How many levels can the Sankey handle?
Arbitrary depth. The AI-generated visual infers levels from your source/target columns — 2 levels, 5 levels, 12 levels — and lays them out automatically.
My flows have feedback loops. Will the Sankey handle that?
Standard Sankeys don't support cycles. For feedback loops (e.g. customer returns), use a chord diagram instead — VizForge generates those too.
How-to guides for sankey diagram
Power BI How-To
AI-First Power BI
Decision Guide
Power BI Customization
Free .pbiviz Generator
Related visuals
AI-generated chord diagram for Power BI. Circular flow visualization — great for bidirectional relationships and matrice
AI-generated funnel chart for Power BI. Conversion steps, sales pipeline stages, multi-step drop-off visualization.
AI-generated waterfall chart for Power BI. Bridge visualizations — revenue walk, variance analysis, budget reconciliatio
AI-generated network graph for Power BI. Nodes + edges, force-directed layout — relationships, org charts, supply-chain
Need a related visual?
Browse the full VizForge visual catalog →