Sales by Hour and Day: Building the Heatmap Managers Actually Staff From
Staff the hours, not the days. A daily sales total cannot say whether trade arrived in a two-hour rush or spread thinly across the day, and rosters are written in hours. The staffing-grade view is a matrix: hours down one side, weekdays across the top, transaction counts in the cells. Business Central’s built-in Daily Sales report does not build that matrix, it analyses sales by weekday over different periods, and its heat maps highlight the days a store sells most. The hour dimension has to come from transaction-level data, timestamps included.
The error: staffing from daily totals
Two days can post the same sales total and need opposite rosters. On the first, trade concentrates into a short peak: queues form, a second till opens, breaks get deferred. On the second, the same total arrives evenly, and one person covers the floor with time to face up shelves between customers. A daily total ranks those two days as identical. A roster built from it is wrong for one of them, and the manager finds out at the till, not at the desk.
Daily totals also hide which question is being answered. The Daily Sales view answers “which weekday sells most.” Rostering asks a different question: “at what time, on which weekday, does the work arrive?” Until the data is cut by hour, the second question is being answered with the first question’s evidence.
Spec check: what the available reports actually cover
Before building anything, verify what the named reports do, grain first, names second:
| View | Grain | What it shows | Staffing use |
|---|---|---|---|
| Power BI Daily Sales | Weekday | Sales by weekday over different periods; heat maps highlight the days the store sells most | Picks the busy days. Says nothing about busy hours |
| Power BI Sales by Location / Sales by Item | Location / item | Sales amount, quantity, cost amount, gross profit and gross profit margin | Context for value and mix, not roster shape |
| Hourly Sales bubble chart (retailcloud, a different POS) | Hour | Identifies the busiest sales times so the data can be used to schedule staff more effectively | Proof the hourly pattern is usable, on another platform |
| Hourly heat maps (KwickView, a different POS add-on) | 15-minute | Hourly heat maps with 15-minute granularity, plus labour alignment tools that overlay scheduled hours against predicted demand | Shows the granularity and the overlay idea, again from a different product |
The spec check gives a clear verdict. The Business Central view stops at the weekday. The hourly examples come from other POS products, named as such, and are useful as pattern contrast only. No source checked for this piece provides an hour-by-weekday heatmap from Business Central or LS Central data, so the matrix gets built from transaction timestamps, and the built-in weekday view becomes the check it is verified against.
Build the matrix: hour by weekday, transactions first
- Choose the period to study, then pull transaction-level data: one row per POS transaction, with the time each transaction was recorded. Daily totals will not do, the hour is discarded the moment transactions are summed into a day.
- Bucket every transaction by its hour of day, using the recorded time.
- Lay the buckets into a matrix: hours as rows, weekdays as columns, and the transaction count in each cell.
- Build a second matrix on the same grid, holding sales amount per cell instead of transaction count.
- Read the transaction matrix first for roster shape, and the sales matrix second for value. Keep the two readings separate until both are done.
- Flag the exception days (next section) and rebuild the baseline without them before any roster is written from the pattern.
What success looks like: the matrix’s weekday column totals rank the weekdays the same way the Daily Sales heat map does, the weekday it highlights as the highest-selling should also carry the matrix’s heaviest columns. If the rankings disagree, or the matrix total for the period does not match the POS total for the same period, transactions are missing or double-counted. Fix the data before rostering from it.
Transactions first, sales second
A queue at the till is workload, and workload is counted in transactions. An hour of many small sales needs hands; an hour with one large sale needs one careful conversation. Sales amount alone cannot tell those hours apart, it would staff the second hour like the first and leave the first hour’s queue uncovered.
That is why the build order matters. Transactions per hour sets the shape of the roster. Sales per hour then qualifies it: a peak that is heavy in both measures earns its extra staff twice over, while a peak heavy only in transactions may call for a second till rather than a second salesperson.
Note: a heatmap is demand evidence for rostering. Decisions about contracted hours and pay follow the normal employment process; the matrix informs those decisions, it does not make them.
Flag the lying days before anyone rosters from it
Some days describe an event, not a pattern. Left in the baseline, they bend every cell they touch:
| Day type | How it bends the matrix | Treatment |
|---|---|---|
| Public holiday | Trading hours and shopper behaviour both shift; the day resembles a weekend more than its weekday | Flag it. Keep it visible, out of the weekday baseline |
| Promotion day | Demand is pulled into the promoted hours and days, inflating cells that normal weeks will not repeat | Flag it. Roster promotions from their own flagged history |
| Closure or part-day trading | Empty hours read as no demand when the store simply was not open | Flag it, and record the hours actually traded |
| Stockout day | Sales stop where stock ran out, so the cells record availability, not demand | Flag it where the stockout is known; treat its quiet hours as unknown, not as zero demand |
Flagging is not deleting. The flagged days stay in the data, labelled, so a promotion’s shape can be studied on its own terms next time one runs. The rule is narrower: flagged days do not set the baseline roster.
The manager’s weekly routine: read, roster, re-check
- Read. Compare the week’s actual matrix against the baseline. Note which cells moved, and whether a flagged day explains the move.
- Roster. Write the next roster from the baseline’s transaction peaks, using the sales matrix to decide where experience, not just coverage, belongs.
- Flag. Mark the week’s holidays, promotions, closures and known stockouts while they are still easy to remember.
- Re-check. After a few weeks, rebuild the baseline with the newly flagged weeks included in the flag list. A baseline that is never rebuilt quietly absorbs the exceptions it was meant to exclude.
Kept up weekly, the routine takes less time than one understaffed Saturday costs. The heatmap earns its place not by being built once, but by staying honest as the weeks accumulate.
, Dex Carter, Tech Writer
IndexBack to all guides →