Codex Time Breakdown

Chart

Break total time into labelled segments — and compare across scenarios.

Styles

4 stylings shipped — every one is a real render, in your theme.

Codex Time Breakdown — Default
Default
Codex Time Breakdown — Aurora
Aurora
Codex Time Breakdown — Slate
Slate
Codex Time Breakdown — Sunset
Sunset

Overview

Where does the time go? Now you can show it. Codex Time Breakdown renders each category as a horizontal stacked bar split into up to three named segments. It's built for time analysis — showing how a total duration breaks down into stages — but works for any additive measure you want to decompose.

Ideal For

  • Event or process time analysis — dispatch, travel, and on-site durations
  • Project phase breakdown — design, build, and test time by team
  • Customer journey timing — wait, service, and resolution stages
  • Budget decomposition — labour, materials, and overhead by project

Key Features

  • Up to three named segments per bar with independent colours and labels
  • Show/hide segment labels and values independently via Format pane toggles
  • Total value displayed as an end label on each bar
  • Sort order field well — control row order with any measure
  • Configurable value unit suffix (e.g. 'min', 'hrs', '$')
  • Legend with segment names and colours
  • Hover tooltip showing category, each segment value, and total
  • Click a bar to cross-filter other visuals on the page
Pro Tip

Use the Sort order field well to arrange scenarios by total duration (longest first) rather than alphabetically. This immediately draws attention to the worst-case scenario.

Help guide

What goes in each field

Field well Put in Required What it does
Category Column Yes One stacked bar per value, such as job type or process.
Segment 1 Measure No The first stage of the time, drawn as the left-hand piece of each bar.
Segment 2 Measure No The second stage, stacked after Segment 1.
Segment 3 Measure No The third stage, stacked after Segment 2.
Total Measure No The figure written at the end of each bar. Leave it empty and the visual adds up the segments for you.
Sort Order Measure No A number that sets the row order, smallest first. Rows without one go to the bottom.

Bind at least one segment, or every bar is empty. A blank segment leaves a gap rather than counting as zero.

Build the measures

The examples assume a Jobs table with one row per job and three duration columns in minutes: Dispatch Minutes, Travel Minutes and On Site Minutes. It is related to a 'Job Type' table with a Job Type column and a numeric Sort column. Swap in your own names.

Segments: average minutes in each stage

Avg Dispatch =
AVERAGE ( Jobs[Dispatch Minutes] )
Avg Travel =
AVERAGE ( Jobs[Travel Minutes] )
Avg On Site =
AVERAGE ( Jobs[On Site Minutes] )

Total: the three stages added together

Avg Total Time =
[Avg Dispatch] + [Avg Travel] + [Avg On Site]

Build the total from the segment measures so the two always agree. When a Total differs from the sum of its segments, the visual adds a "!" after the total and the tooltip shows both figures.

Sort Order: keep your own row order

Job Type Sort =
MIN ( 'Job Type'[Sort] )

Put it together

  1. Add the visual and drag 'Job Type'[Job Type] into Category.
  2. Drag Avg Dispatch into Segment 1, Avg Travel into Segment 2 and Avg On Site into Segment 3.
  3. Drag Avg Total Time into Total and Job Type Sort into Sort Order.
  4. In the Format pane, open Time Breakdown and type your stage names into Segment 1 label, Segment 2 label and Segment 3 label.
  5. Set Value unit to match your measures, such as "min" or "hrs".

Tips

  • Values are written with each measure's own format string. Give the measures a format such as 0.0 in the model to show one decimal place.
  • Show delta chip compares each row's total with the first row, after sorting. A shorter time is marked as good and a longer time as bad, so put your reference row first with Sort Order.
  • Use Dead Time Segment to grey out a waiting stage, so the stages you can act on stand out.
  • A negative duration cannot be drawn. That row's bar is left empty, and the end label shows "!" after the Total, or "Invalid duration" when no Total is bound.
From $1.49 / user / month · volume pricing from $29/mo

Billed through Microsoft AppSource


Category Chart
Tooltips
Cross-filtering
High Contrast