# SmartVisuals Flow Chart for Power BI

> Flowchart and process map for Power BI from an event log, From/To pairs or level columns. Loops, symbols, top variants free; Premium adds process mining lite.

- Page: https://www.smartvisuals.io/visuals/flow-chart
- Fields and settings: https://www.smartvisuals.io/visuals/flow-chart/settings
- Microsoft Marketplace: https://marketplace.microsoft.com/en-us/product/smartvisuals.smartvisuals-flow-chart?tab=overview
- Package: https://www.smartvisuals.io/downloads/smartvisuals-flow-chart-1.0.2.0.pbiviz
- Price: Free tier for every viewer; premium $1.99 per user per month or $19 per user per year on Microsoft Marketplace, with a 30-day free trial. Premium works in edit mode without a licence; unlicensed viewers see the free tier, never a blocked visual.
- Certified by Microsoft: no
- Version: 1.0.2.0
- GUID (visualType and publicCustomVisuals): `smartVisualsFlowChart5E8B2C7D41A9`

## What is free

- **Three input shapes**: Event log (Case ID, Activity, Timestamp, End Timestamp, Sort Order), From and To pairs with Value and Duration, or level columns.
- **The whole process map**: Start and end markers, loops and rework dashed, arrow width by transitions, left to right or top to bottom.
- **Arrow labels and time per step**: Count, % of cases, both, or the average time from a Duration measure on pairs, and the average time per step of an event log with its definition in the tooltip.
- **Flowchart symbols**: Process, decision, terminator, document, data, manual, preparation, subprocess, database and delay, picked per step from a Box Shape field.
- **Images, notes and links**: An icon per step from data:image values, a short note under the step, and a link icon that opens a work instruction after a click.
- **Top 5 variants**: The most frequent paths with their share of cases; click one to trace it on the map and filter the report. Readers can sort them.
- **Collapse, search, subprocesses**: Collapse and expand steps, search, drill down an Activity hierarchy or draw each group as an expandable subprocess box.
- **Top N steps and variant coverage**: Merge the rarest steps into one Other steps box with every count exact, or draw only the variants covering a share of cases.
- **Can you trust the log?**: A data-quality table: rows left out, events ending before they start, single-event cases and tied timestamps.
- **Conditional formatting both ways**: Power BI fx rules on box colours and the visual's own two colour rules on count, % of cases or time per step.
- **Templates and four themes**: Process map, Executive, Minimal, Presentation, Print and Technical; SmartVisuals, Dark, Clean and Slate; most frequent path highlighted, step numbers, grid and legend.
- **Accessibility and 20 languages**: Keyboard navigation, a screen reader summary, a data table, dash patterns instead of colour, high contrast and 20 languages.

## What premium adds

- **Durations on every arrow**: Median, 90th percentile or mean; waiting versus processing time; the lead-time distribution.
- **Bottlenecks and SLA**: Fast-to-slow heat by time or count with the slowest arrows numbered, and lead-time and step targets with breaches flagged.
- **Rework**: The rework rate per step and the share of cases with rework.
- **Conformance**: Every case checked against the most frequent variant, a typed path or several accepted paths: on-path share, skipped and inserted steps.
- **Variant explorer**: Every variant with its share, median lead time and share of cases month by month.
- **Swimlanes and handoffs**: A lane per department or role with handoffs counted, and a view that draws the lanes as boxes and the handoffs as arrows.
- **Case list and KPI vs target**: The cases behind a step or an arrow, slowest first, and a badge per step against its target.
- **Compare and small multiples**: Two periods or segments on one map, with lead time and rework by segment, and one map per site, region or product.
- **Time-true replay**: Every case moves through the map at its real waiting times, so you watch the queues build.
- **CSV export**: Steps, transitions and variants as one CSV, saved through Power BI's download service where your tenant allows downloads from custom visuals.

## Fields

| Field | Internal name | Takes | Needed | What it is for |
| --- | --- | --- | --- | --- |
| Case ID | `caseId` | Column | Optional | Event log: the order, ticket or request each row belongs to. |
| Activity | `activity` | Column | Optional, up to 2 | Event log: the step that happened. Bind a hierarchy (Group, Activity) to drill down. |
| Timestamp | `timestamp` | Column | Optional | Event log: when the step happened (start time when you also bind an End Timestamp). |
| End Timestamp | `endTime` | Column | Optional | Optional: when the step finished. Splits waiting from processing time. |
| Sort Order | `sortOrder` | Column | Optional | Optional: orders steps that share a timestamp. |
| From | `from` | Column | Optional | Pairs: where a transition starts. Use with To. |
| To | `to` | Column | Optional | Pairs: where a transition goes. |
| Levels (in order) | `levels` | Column | Optional, up to 10 | A flat table: one column per level, left to right. No reshaping needed. |
| Value | `value` | Measure | Optional | Optional: size of each transition or path. Without it, rows are counted. |
| Duration | `duration` | Measure | Optional | Pairs: average time on the transition (unit in Format > Time Units). |
| Box Shape | `shape` | Column | Optional | Optional: a flowchart symbol per step: Process, Decision, Start, End, Document, Data, Subprocess, Manual, Preparation, Database, Delay. |
| Box Image | `image` | Column | Optional | Optional: an image per step as a data:image URI (Base64). Web addresses are ignored: the visual makes no network calls. |
| Note | `note` | Column | Optional | Optional: a short note shown under the step (the first non-empty value per step). |
| Link | `link` | Column | Optional | Optional: a web address per step (https). Opens from the box's link icon in a new tab. |
| Swimlane (Premium) | `lane` | Column | Optional | Department, role or system: one lane each, with handoffs counted (Premium). |
| Compare By (Premium) | `compareBy` | Column | Optional | Period or segment: shows what changed between two values on one map (Premium). |
| KPI (Premium) | `kpi` | Measure | Optional | A value per step shown as a badge against the Target (Premium). |
| Target (Premium) | `target` | Measure | Optional | The KPI's target per step (Premium). |
| Small Multiples (Premium) | `splitBy` | Column | Optional | One map per value (site, region, product) with the same settings (Premium). |
| Tooltips | `tooltips` | Measure | Optional, up to 5 | Extra fields for the tooltip. |

## Format pane

Each card is a key under `visual.objects` in a PBIR visual.json; each setting is a property of it. Toggles take `true`/`false`, choices and text a value in single quotes (`'auto'`), numbers a `D` suffix (`12D`).

### Style Template (`styleTemplate`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Template | `template` | `none` (Default), `custom` (Custom), `processMap` (Process map), `executive` (Executive), `minimal` (Minimal), `presentation` (Presentation), `print` (Print), `technical` (Technical) |
| Applied Template | `applied` | Text |

### Layout (`layout`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Direction | `orientation` | `LR` (Left to right), `TB` (Top to bottom) |
| Space Between Steps | `layerGap` | Number |
| Space Between Boxes | `nodeGap` | Number |
| Start and End Markers | `startEnd` | On / off |
| Show Variants Covering (% of Cases) | `coverage` | Number |
| Same Name Is One Step (Loops) | `mergeByName` | On / off |
| Step Numbers | `stepNumbers` | On / off |
| Keep the Top N Steps (0 = all) | `topN` | Number |
| Highlight the Most Frequent Path | `mainPath` | On / off |
| Group Steps into Subprocesses | `subprocesses` | On / off |

### Boxes (`nodes`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Shape | `shape` | `rounded` (Rounded), `rectangle` (Rectangle), `pill` (Pill) |
| Fill | `fillMode` | `theme` (Theme), `single` (One colour), `frequency` (By frequency), `lane` (By swimlane) |
| Box Colour | `fill` | Colour |
| Border Colour | `borderColor` | Colour |
| Border Width | `borderWidth` | Number |
| Maximum Width | `maxWidth` | Number |
| Show Count | `showCount` | On / off |
| Count | `countMode` | `events` (Events), `cases` (Cases) |
| Average Time per Step | `showAvgStep` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `fontColor` | Colour |
| Font | `fontFamily` | `inter` (Inter), `segoe` (Segoe UI), `arial` (Arial), `georgia` (Georgia) |
| Value Line Size (0 = auto) | `metricSize` | Number |
| Badge and Step Number Size (0 = auto) | `badgeSize` | Number |
| Start and End Labels | `markerLabels` | On / off |
| Start and End Label Size (0 = auto) | `markerSize` | Number |
| Flowchart Symbols (Box Shape field) | `shapes` | On / off |
| Images (Box Image field) | `images` | On / off |

### Notes (`annotations`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show Notes | `show` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Arrows (`links`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Width By | `widthBy` | `count` (Count), `uniform` (Same width) |
| Maximum Width | `maxWidth` | Number |
| Minimum Width | `minWidth` | Number |
| Colour By | `colorBy` | `single` (One colour), `source` (Source box) |
| Arrow Colour | `color` | Colour |
| Opacity (%) | `opacity` | Number |
| Line | `curve` | `curved` (Curved), `straight` (Straight) |
| Show Loops and Rework | `showLoops` | On / off |
| Loop Line | `loopStyle` | `dashed` (Dashed), `solid` (Solid) |
| Loop Colour | `loopColor` | Colour |

### Arrow Labels (`linkLabels`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Content | `content` | `count` (Count), `percent` (% of cases), `both` (Count and %), `time` (Average time) |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |
| Background Halo | `halo` | On / off |

### Level Headers (`headers`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Background Grid (`grid`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Style | `style` | `dots` (Dots), `lines` (Lines) |
| Spacing | `spacing` | Number |
| Colour | `color` | Colour |

### Legend (`legend`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Position | `position` | `top` (Top), `bottom` (Bottom) |
| Title | `showTitle` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Summary Strip (`kpiStrip`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Status Line (`statusLine`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show | `show` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Variants (`variants`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show Top Variants | `show` | On / off |
| Variants Listed | `count` | Number |
| Variant Explorer (Premium) | `explorer` | On / off |
| Sort Variants By | `sort` | `frequency` (Cases), `steps` (Number of steps), `name` (Path (A to Z)), `leadTime` (Median lead time (Premium)) |
| Share over Time (Premium) | `trend` | On / off |
| Text Size | `fontSize` | Number |
| Text Colour | `color` | Colour |

### Search (`search`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Search Box | `show` | On / off |
| Text Size | `fontSize` | Number |

### Interaction (`interaction`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Pan and Zoom | `zoom` | On / off |
| Collapse and Expand | `collapse` | On / off |
| Click a Variant to Trace It | `trace` | On / off |
| Data Table Button | `dataTable` | On / off |
| Data Table Text Size | `tableFontSize` | Number |
| Overview Map When Zoomed | `minimap` | On / off |
| Drag Boxes to Rearrange | `drag` | On / off |
| Export Button (Premium) | `export` | On / off |
| Case List for the Selection (Premium) | `caseList` | On / off |

### Flow Animation (Premium) (`animation`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Animate the Flow | `replay` | On / off |
| Speed | `speed` | Number |
| Date Clock | `clock` | On / off |
| Clock Text Size | `clockSize` | Number |

### Colour Rules (`colorRules`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Use Colour Rules | `show` | On / off |
| Rule 1: Measure | `metric1` | `count` (Count), `share` (% of cases), `avgStep` (Average time per step) |
| Rule 1: Condition | `op1` | `gt` (Greater than), `lt` (Less than) |
| Rule 1: Value | `value1` | Number |
| Rule 1: Colour | `color1` | Colour |
| Rule 2: Measure | `metric2` | `count` (Count), `share` (% of cases), `avgStep` (Average time per step) |
| Rule 2: Condition | `op2` | `gt` (Greater than), `lt` (Less than) |
| Rule 2: Value | `value2` | Number |
| Rule 2: Colour | `color2` | Colour |

### Durations (Premium) (`time`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Durations on Arrows | `show` | On / off |
| Statistic | `stat` | `median` (Median), `p90` (90th percentile), `mean` (Mean) |
| Waiting vs Processing | `split` | On / off |
| Lead Time Distribution | `leadTime` | On / off |

### Time Units (`timeUnits`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show Times In | `unit` | `auto` (Auto), `minutes` (Minutes), `hours` (Hours), `days` (Days), `weeks` (Weeks) |
| Numeric Timestamps Are | `numericUnit` | `seconds` (Seconds), `minutes` (Minutes), `hours` (Hours), `days` (Days) |
| Duration Field Is In | `durationUnit` | `seconds` (Seconds), `minutes` (Minutes), `hours` (Hours), `days` (Days) |

### Bottlenecks (Premium) (`bottleneck`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Heat By | `mode` | `off` (Off), `time` (Time), `count` (Count) |
| Flag the Slowest Arrows | `top` | Number |
| Fast Colour | `lowColor` | Colour |
| Slow Colour | `highColor` | Colour |

### SLA (Premium) (`sla`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Case Lead Time Target (0 = off) | `caseTarget` | Number |
| Step Target (0 = off) | `stepTarget` | Number |
| Targets In | `unit` | `minutes` (Minutes), `hours` (Hours), `days` (Days) |
| Compare Step Target With | `stat` | `median` (Median), `p90` (90th percentile) |
| Breach Colour | `color` | Colour |

### Rework (Premium) (`rework`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Rework Rate per Step | `show` | On / off |

### Conformance (Premium) (`conformance`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Check Against a Reference Path | `show` | On / off |
| Reference Path | `reference` | `top` (Most frequent variant), `accepted` (Top N variants (accepted)), `custom` (Typed path) |
| Accepted Variants | `accepted` | Number |
| Typed Path (A > B > C) | `path` | Text |
| On-Path Colour | `fitColor` | Colour |
| Deviation Colour | `deviationColor` | Colour |

### Swimlanes (Premium) (`swimlanes`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Show Swimlanes | `show` | On / off |
| View | `view` | `process` (Steps in lanes), `handoffs` (Handoffs between lanes) |
| Count Handoffs | `handoffs` | On / off |
| Lane Title Size | `fontSize` | Number |
| Lane Title Colour | `titleColor` | Colour |

### KPI vs Target (Premium) (`kpi`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| KPI Badge | `show` | On / off |
| Aggregate Rows By | `aggregation` | `sum` (Sum), `mean` (Average) |
| Higher Is Better | `higherIsBetter` | On / off |
| On Target Colour | `goodColor` | Colour |
| Off Target Colour | `badColor` | Colour |

### Compare (Premium) (`compare`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Compare (A) | `a` | Text |
| With (B) | `b` | Text |
| Colour Arrows By | `metric` | `share` (Change in % of cases), `time` (Change in median time) |
| Increase Colour | `upColor` | Colour |
| Decrease Colour | `downColor` | Colour |

### Small Multiples (Premium) (`smallMultiples`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Columns (0 = auto) | `columns` | Number |
| Maximum Panels | `max` | Number |
| Panel Title Size | `titleSize` | Number |

### Theme (`theme`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Theme | `selectedTheme` | `smartvisuals` (SmartVisuals), `dark` (Dark), `clean` (Clean (White)), `slate` (Slate) |
| Transparent Background | `transparentBg` | On / off |

### Accessibility (`accessibility`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Focus Outline Colour | `focusColor` | Colour |
| Focus Outline Width | `focusWidth` | Number |
| Minimum Text Size (0 = off) | `minFontSize` | Number |
| Show Meaning Without Colour | `patterns` | On / off |
| Reduce Motion | `reduceMotion` | On / off |

### Box Colours (`dataPoint`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Colour | `fill` | Colour |

### Box Colours (`dataPointFrom`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Colour | `fill` | Colour |

### Box Colours (`dataPointLevels`)

| Setting | Internal name | Type or options |
| --- | --- | --- |
| Colour | `fill` | Colour |
