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.
By Nawaf Sharaf · Founder & Reliability Engineer · Updated
1–5 credits by complexity · 5 free on signup
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 (as of November 2026). The Microsoft Marketplace (formerly AppSource) 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, type-checks it with the real TypeScript compiler, repairs the common Power BI SDK mistakes, 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.
Live preview
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] )5 free credits on signup, no credit card required. One-time credit packs from $9.99 — credits never expire.
The example prompt on this page goes with you into the workspace.
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.
Guides for sankey diagram
Power BI How-To
How to make a sankey diagram in Power BIField wells, a worked example, prompt checklist and first-render checks.
Decision guide
AI-generated vs Marketplace visualsCost, customisation and source ownership, honestly compared.
Free .pbiviz
Free Power BI custom visualsEvery real source of free .pbiviz files, and the catch with each.
Dashboards that use a sankey diagram
Dashboard jobs where a sankey diagram is one of the recommended visuals, with the DAX and prompts for each.
HRBPs, People Ops, Chief People Officers
Best Power BI Visuals for HR AnalyticsHeadcount movement: joins → department → exits / internal moves / retentions over the quarter.
CMOs, demand gen leads, marketing analysts
Best Power BI Visuals for Marketing AttributionMulti-touch attribution path: first touch → intermediate touches → conversion. See where paths concentrate.
PMs, product analysts, growth teams
Best Power BI Visuals for Product AnalyticsUser flow through the product: entry point → key feature → secondary action → conversion.
Dashboard templates to put it on
Free page layouts from the Design Studio. Each downloads as a background image, theme JSON and PBIP project; drop the generated .pbiviz into the matching slot.
HR & people template
HR Headcount & AttritionLeft nav rail, 4 KPIs, two trend panels, three-panel workforce row
HR & people template
Recruitment & Hiring FunnelPlain header with logo, 5 KPIs, tall funnel left, source bars + department columns + open-requisition table right
HR & people template
Employee Engagement SurveyGlass header card, 4 KPIs beside eNPS score columns, theme comparison + department heatmap + question ranking
Design the page around it, free
A custom visual looks best on a designed page. The free VizForge Design Studio lays out a branded report page at Power BI’s pixel size and exports the background image, a theme JSON and a PBIP project. No signup.
Open the free Design Studio →Marketplace sankey diagram visuals
Ready-made sankey diagram visuals on Microsoft Marketplace (formerly AppSource), with licence, certification and published price as of Nov 2026.
Compare all Power BI custom visuals in the directory
Other ways to get a sankey diagram
Honest, side-by-side comparisons with the marketplace and developer tools, including when they are the better choice.
Comparison
VizForge vs Zebra BIVizForge vs Zebra BI — honest 2026 comparison. AI custom visuals vs. IBCS-compliant chart suite. When each is the…
Comparison
VizForge vs Microsoft Marketplace (AppSource)VizForge vs Microsoft Marketplace (formerly AppSource): AI custom visual generator vs. hundreds of pre-built…
Comparison
VizForge vs InforiverVizForge vs Inforiver — honest 2026 comparison. Per-visual AI generation vs. pre-built subscription suite. Pricing,…
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 →