tcviz VISUALS TO POWER BI
Bar Chart with Variation %
Documentation
Visual v1.12.0.1  ·  docs updated 22 November 2026  ·  what's new

A plan vs actual bar chart for Power BI. It writes the variation % between bars by itself and, with your plan, budget, forecast or last year’s figure, draws a marker where each bar should have been. The free version compares against the previous bar, with small multiples, both orientations and style templates. Pro adds the three reference measures (as a marker or as a bar beside the actual), absolute variance, up to 100 panels, analytical lines with a trend line and a reference band, value labels, per-bar colours with conditional formatting (fx) and the six collection styles.

Quick Start

  1. Add Bar Chart with Variation % to the page. With no fields it shows a start screen with these steps and links to this guide and the video.
  2. Drag a date or category field to Axis and a measure to Values. The variation % appears between the bars.
  3. Optional: a field in Small Multiple for one panel per region, product or team.
  4. Pro: drag your plan to Plan / Budget (or last year to Previous Year) and choose it under Comparison → Compare to.
  5. The setup guide in the corner lists the optional fields and the style templates. Sample data: SampleData_BarChartVariation.xlsx.

How to read it

▲ +31% ▼ −14% ▲ +44% JanFebMarApr Variation %between consecutive bars, joined by a bracket Reference marker (Pro)plan, budget, forecast or last year Negative colourbelow what it is compared with Barsthe actual figure, on a scale from zero

Read each label as “this bar against the one before”, or, with a reference, “this bar against plan”. The marker shows where the bar should have been; the colour says whether it fell short.

Field Wells

FieldKindRequiredWhat it does
AxisGroupingYesMonths, quarters, products — one bar per value. A date hierarchy gives drilldown; with several levels expanded each bar shows all of them (“Q1 · Jan”). Up to 1,000 categories.
ValuesMeasureYesThe figure on each bar: sales, cost, units. The variation % is calculated from it — no DAX needed.
Small MultipleGroupingNoOne panel per value — region, product, team — all on the same scale so the panels can be compared. Free draws 3 panels and says “Showing 3 of N panels”; Pro draws up to 100.
Previous YearMeasureNo — ProLast year’s figure for each category. Choose it under Comparison → Compare to: each bar gets a marker at last year’s level and the variation against it.
Plan / BudgetMeasureNo — ProThe plan or budget for each category: a marker where the bar should have been, and the variance against plan on every bar.
ForecastMeasureNo — ProThe forecast for each category, read the same way as Plan / Budget.
TooltipsMeasureNoExtra measures shown in the tooltip, with their own format.

Free and Pro

CapabilityFreePro
Bars with the variation % between consecutive categories, calculated for you✓✓
Vertical or horizontal orientation✓✓
Small multiples: up to 3 panels on a shared scale, columns automatic or chosen, minimum panel size with scroll✓✓
Arrows and connectors on the variation labels, which never overlap: they shrink or alternate heights on narrow bars✓✓
Sort: Auto (chronological on date and number axes), ascending, descending; hide empty categories✓✓
Colours from the report theme, or your own: bar, negative, positive, series colours, borders, corner radius, opacity✓✓
Style templates Report theme, Classic and IBCS style; setup guide✓✓
Text that scales with the visual; accessibility card (high contrast Automatic or On, focus colour and width, minimum text size)✓✓
Axis titles; label size, colour, bold, italic and angle; panel titles with a line or a filled header✓✓
Cross-filtering, highlight, bookmarks, drilldown, context menu, report tooltips, keyboard, high contrast✓✓
Number format of the measure, dynamic format strings included; format on the canvas; 12 languages✓✓
Previous Year, Plan / Budget and Forecast as references, with a marker on every bar or as a bar beside the actual—✓
The six collection styles: Boardroom, Ledger, Editorial, Signal, Aurora, Terrace—✓
Variance as an absolute difference, or difference and %—✓
4 to 100 small multiple panels—✓
Analytical lines: average, maximum, minimum, median, a reference value and a trend line—✓
Reference band: the typical range of the data, or the limits you type—✓
Value labels on the bars—✓
Per-bar colours, and bar colour with conditional formatting (fx) rules—✓

Turn on a Pro capability without a licence while editing and it is drawn working under a "Pro preview" watermark that names it. Reading view shows the free result. Pro is sold per user on Microsoft AppSource.

Format Pane

CardSettings
Style templateReport theme (the default: colours from the report theme), Classic, IBCS style, and the collection styles Boardroom, Ledger, Editorial, Signal, Aurora and Terrace (Pro). Choosing a template applies it: the settings it defines (colours, a bar colour rule, title style, corners) are replaced and the rest stays. Setup guide: turn it back on to see the guide again.
ComparisonCompare to: Previous bar, Previous Year, Plan / Budget or Forecast (the last three Pro, with their field bound); Variance format (Pro): Relative (%), Absolute or Both; reference marker and its colour; Show reference as: Marker, or Bar beside the actual (Pro); Reference bar color.
Bar settingsDefault bar colour, with conditional formatting (fx) rules (Pro; not offered with a field in Small Multiple); negative bar colour (a bar below its comparison); opacity; axis text colour; bar border colour and width (drawn inside the bar, so a zero stays on the baseline); connector colour; orientation: vertical (columns) or horizontal (bars); bar corner radius.
Variation labelsShow; font size; positive and negative colour; decimal places; arrows; connectors (a bracket between consecutive bars, or a line from the label to its bar through the reference marker).
Data labels (Pro)Show the value on each bar; colour; font size; display units; decimal places.
Analytical lines (Pro)Average, maximum, minimum, median; trend line and its colour; reference value and line; line colour and style; labels and their size; band: show, minimum and maximum (both 0 = the typical range, 25th to 75th percentile), colour, opacity.
Bar colors (Pro)One colour per category.
Series colorsOne colour per Small Multiple panel.
AxisSort order; hide empty categories; X labels: show, angle (auto, horizontal, 45°, 90°), size, colour, bold, italic; X axis title and its text; Y labels: show, size, colour, bold, italic; Y axis title and its text. An empty title text uses the field name.
LegendShow the positive and negative colours; top or bottom; text colour.
Small multiplesLayout: columns (0 = automatic), space between panels, minimum panel width and height, scroll. Title: show, top or bottom, size, separator line or filled header with its fill, series colour or your own colour, bold, alignment (left or centre); with a filled header the text switches to black or white when the contrast is too low. Background and border: panel background, colour and opacity; panel border and its colour.
AccessibilityHigh contrast: Automatic (the Windows setting) or On; patterns on negative bars, for readers who cannot tell the colours apart; focus colour and width for keyboard navigation; minimum text size.

Format on the canvas: in format mode, click the bars, the variation labels, a panel title, an axis or the legend to format them where they are.

Selection and interaction

Accessibility

FAQ

How do I compare actual against plan or budget?

Drag your plan measure to Plan / Budget and set Comparison → Compare to → Plan / Budget (Pro). Each bar is the actual figure, a marker shows the plan, and the variation label says by how much the bar is above or below it. The same works with Previous Year and Forecast.

Do I need a date table or DATEADD for the variation?

No. Against the previous bar, the visual calculates the variation from the values on the axis. For last year, plan or forecast you need those measures in your model, as you would for any report.

What does “Compare to: Previous bar” compare?

Each bar with the bar to its left in the current sort order. The label sits between the two bars, joined by a bracket. Sorting by value changes the neighbours, so the variation follows the new order.

Why are my years or months in the wrong order?

Power BI sends categories sorted by the measure, largest first. With Axis → Sort order → Auto the visual puts date and number axes in time order. For month names, use Sort by column on the month field in the model (by month number), or sort from the visual menu (… → Sort axis).

The last months show −100%

Those months have no data yet, so they are 0. Turn on Axis → Hide empty categories: categories that are 0 or blank in every panel are removed from the axis.

Why is a bar red when its value went up?

The negative colour marks a bar that is below what it is compared with — the previous bar, or the plan — or below zero. A month can grow against last year and still miss the plan.

Relative, absolute or both?

Comparison → Variance format: Relative (%) is free; Absolute shows the difference in the units of the measure and Both shows the two (Pro). It applies against the previous bar and against a reference. The difference uses the format of the measure.

The variation labels are small or at two heights

When bars are narrow — many categories, or several panels — the labels drop the arrows, shrink by up to 2 px and then alternate between two heights, so none is hidden. Widen the visual, use fewer panels per row, or switch to horizontal orientation.

Can the bars be horizontal?

Yes: Bar settings → Orientation → Horizontal (bars). Categories go on the left, the variation in a column on the right, and the value axis at the bottom. Long category names read better this way.

Can I show the plan as a bar instead of a marker?

Yes (Pro): Comparison → Show reference as → Bar beside the actual. Each slot then holds two bars, the reference on the left and the actual on the right, with the variation label above the pair. Change its colour under Reference bar color.

What are the collection styles?

Boardroom, Ledger, Editorial, Signal, Aurora and Terrace are the styles shared by the TCViz visuals, so a page with several of them reads as one report (Pro). Report theme, Classic and IBCS style are free. Without a licence a collection style is drawn while you edit, under the “Pro preview” watermark; reading view shows Report theme.

The text got smaller when I resized the visual

Below report size (760 × 420 px) all the text shrinks together, down to 60 % and never under 8 px, so a small tile keeps every label. To keep text larger, set Accessibility → Minimum text size.

How do small multiples work?

Drag a field to Small Multiple: one panel per value, all on the same scale, so a taller bar is a larger value in every panel. Set the number of columns, the space between panels, the titles and the border under the Small multiples card, or leave 0 columns for automatic. With many panels, set a minimum panel size and the visual scrolls. Free draws 3 panels; Pro up to 100.

What is the reference band?

A shaded range across the panels (Pro). With Band min and Band max at 0 it marks the typical range of your data — the middle half of the values, from the 25th to the 75th percentile. Type limits to mark your own range, such as a target corridor.

What does the trend line show?

A straight least-squares line through the bars of each panel, in the axis order (Pro). Use it on a time axis: on categories sorted by value it only restates the sort.

What is “IBCS style”?

A template with a sober look inspired by IBCS notation: dark grey bars, green and red variances, black reference markers and square corners. It is a style; the visual does not claim compliance with the IBCS standard.

Where is the fx button of the bar colour?

Power BI evaluates conditional formatting rules per bar only when there is no field in Small Multiple, as it does for native charts with a Legend field, so with Small Multiple the fx button is not offered. Remove the field to use rules, or colour each panel under Series colors.

I changed the bar colour and nothing happened

A conditional formatting rule on the bar colour takes precedence over the fixed colour, and the negative colour still marks bars below their comparison. Use Reset to default on the Bar settings card to clear an old rule.

Where do the default colours come from?

From the report theme: the first data colour for bars, and the theme’s bad and good colours for negative and positive. Any colour you choose replaces them.

How are numbers formatted?

With the number format of the measure from the model, dynamic format strings included, in the report’s language. Display units and decimals for the value labels are set under Data labels.

How many categories and panels can it show?

Up to 1,000 categories and 100 panels, which is what the visual asks Power BI for.

Do bookmarks keep my selection?

Bookmarks keep the bars you select and the filters of the page. Like every Power BI visual, they do not keep formatting.

Can I format it by clicking on the chart?

Yes. In Power BI Desktop with on-object interaction turned on, choose Format and click the bars, the variation labels, a panel title, an axis or the legend.

What is the "Pro preview" watermark?

While you edit a report without a licence, Pro features you turn on are drawn working under a watermark that names them, and Power BI shows its licence notice. Reading view shows the free result. Where Power BI provides no licence information (for example when you are not signed in to Power BI Desktop), the free result is shown.

How do I get Pro?

On the visual's Microsoft AppSource page, choose Buy now (not Install free). Licences are per user and managed by Microsoft; restart Power BI Desktop after the licence is assigned. See tcviz.com/licensing.

Is my data sent anywhere?

No. The visual makes no network requests and stores nothing outside your report.

Contact

✉

Questions, bugs, ideas

Write to support@tcviz.com or open a thread in GitHub Discussions.