Power BI How-To / Finance Analysis

Overhead Allocation in Power BI: Shared Costs Assigned to Products, Customers and Projects

Power BI overhead allocation answers a different question from break-even analysis. Break-even asks how much the business must sell; allocation asks which product, customer or project should carry which share of rent, software, insurance and admin salaries. This guide starts at the general ledger, picks a driver for each overhead pool, builds the allocation in Power Query or DAX, and proves that every allocated dollar ties back to the overhead you actually booked.

The short version

Four steps from shared cost to loaded margin

Group overhead into pools

A pool column on the account mapping table, plus a shared cost center, separates rent, IT, HR and admin from the costs that already sit on a product or project.

Pick a driver per pool

Hours, revenue, headcount or square footage. Each target’s share of the driver decides its share of the pool.

Allocate month by month

Shares and pools are matched within each month, so a year is the sum of its months rather than an annual share applied to an annual pool.

Reconcile to the ledger

Allocated plus unallocated overhead must equal the overhead booked, and margin after overhead must sum to operating profit.

What is overhead allocation in Power BI?

Overhead allocation spreads costs that no single product, customer or project causes, such as rent, IT, insurance and finance salaries, across the parts of the business that benefit. In Power BI it means a driver table, a share per target, and an allocated amount that adds back exactly to the overhead booked in the ledger.

Direct costs, such as materials on a job or the hours of the consultant who did the work, already carry a product, customer or project code in the source system. Overhead does not: it lands on a shared cost center and stays there. Allocation is a management-reporting view on top of the ledger, the same ledger that feeds your Power BI profit and loss statement, and it lets you show margin after overhead for every service line or client. One caution belongs at the top: most overhead is fixed in the short run, so a line that looks loss-making after allocation may still contribute more than its direct costs. Dropping it removes its revenue and direct costs, not the rent.

Which allocation driver should you pick?

Pick the driver that moves most closely with what consumes the overhead and that you already record reliably every period. Hours suit people-heavy firms, revenue is easy but flatters low-revenue work, headcount fits HR and IT costs, and square footage fits rent. Different overhead pools can, and often should, use different drivers.

Common allocation drivers, the overhead pools they fit, and where each one tends to go wrong.
Driver Fits these overhead pools Where the data lives Watch out for
Hours workedAdmin, supervision, shared delivery toolsTimesheets, payroll, PSA toolsMissing or late timesheets leave a month unallocated
RevenueGeneral and administrative cost when no better driver existsGL revenue accountsTies overhead to price, not effort; high-revenue lines carry more whatever they consume
Headcount (FTE)HR, IT, software seats, benefits administrationHRIS or payrollUse average FTE for the period, not a month-end snapshot
Square footageRent, utilities, facilitiesLease schedule or a maintained floor-space tableRarely changes, so review it whenever space is reassigned
Machine hours or unitsFactory overhead, equipment depreciationProduction logs, MES or ERPNeeds one consistent unit across products
Transactions or ticketsBilling, accounts payable, customer supportERP or helpdeskCounts ignore size; one large invoice weighs the same as one small one

Should you allocate in Power Query or in DAX?

Allocate in Power Query, or upstream in SQL, when the result must behave like posted ledger rows, feed other measures and stay fixed once a month closes. Allocate in DAX when finance wants to switch drivers with a slicer or test scenarios. Many models do both: a fixed monthly allocation plus a DAX what-if.

Power Query allocation rows compared with DAX allocation measures.
Aspect Power Query (allocation rows) DAX (allocation measures)
When it runsAt refreshAt query time, for every visual
ResultRows appended to the GL fact with a Source of AllocationA measure that exists only in the report
Switching driversChange the query and refreshA slicer on a driver table
RoundingRound each row to cents and post the remainder to one targetUsually unrounded; totals tie by construction
Large modelsNo extra cost at query timeIterating many targets and months can slow visuals
Audit trailEvery allocated row can be exported and checkedNeeds a reconciliation page to prove the totals
Best forMonth-end management P&L by department or service lineDriver comparisons and what-if analysis

The Power Query version produces allocation rows you append to the GL fact. Group the shared overhead by month and pool; group the driver by month and target and divide each target’s hours by that month’s total; merge the two on month; multiply the pool by the share and round to cents. Then add one offsetting row per month and pool that credits the shared cost center with the same total, and append both sets with a Source column of Allocation. The ledger total does not move, the shared cost center nets to zero, and every service line carries its share. Post any rounding difference to the largest target so the allocation and the offset agree to the cent.

Which DAX measures allocate overhead by driver?

Five short measures cover a single-driver allocation: the overhead pool, the driver total, each target’s share of that total, the allocated amount, which is the pool multiplied by the share month by month, and the unallocated remainder, which catches overhead that found no driver so the totals always tie to the ledger.

The measures assume a GL table with an Amount column where debits are positive, a Service Line dimension related to both the GL and a Timesheet table, an Is Shared flag on the service line that holds overhead, and a marked Date table with a Year Month column. Timesheet hours are coded to the service lines that did the work, so the shared line has no hours of its own.

The core overhead allocation measures for an hours driver.
Measure DAX expression What it returns
Overhead PoolCALCULATE( SUM( GL[Amount] ), REMOVEFILTERS( 'Service Line' ), 'Service Line'[Is Shared] = TRUE() )All overhead on the shared line, whichever service line is on the row
Driver HoursSUM( Timesheet[Hours] )Hours for the service line and month in context
Driver ShareDIVIDE( [Driver Hours], CALCULATE( [Driver Hours], REMOVEFILTERS( 'Service Line' ) ) )The service line’s share of all hours
Allocated OverheadSUMX( VALUES( 'Date'[Year Month] ), SUMX( VALUES( 'Service Line'[Service Line] ), [Overhead Pool] * [Driver Share] ) )Overhead allocated month by month, then summed
Unallocated Overhead[Overhead Pool] - CALCULATE( [Allocated Overhead], REMOVEFILTERS( 'Service Line' ) )Overhead in months or pools with no driver; show it on a card, not per row

The outer SUMX over months matters. Without it, a year-to-date visual multiplies the annual pool by the annual hours share, which differs from the sum of twelve monthly allocations whenever the mix of hours shifts during the year. Iterating months makes the year equal the sum of its months, which is what a posted allocation would show. REMOVEFILTERS inside CALCULATE is what lets the pool and the driver total ignore the service line on the row; Microsoft’s CALCULATE function reference (opens in new tab) explains how filter modifiers combine. DIVIDE (opens in new tab) returns a blank when a month has no hours, so that month’s pool falls into Unallocated Overhead instead of raising an error. To compare drivers, add a disconnected Driver table with Hours, Revenue and Headcount rows and let Driver Share pick the matching ratio with SWITCH( SELECTEDVALUE( Driver[Driver] ), … ).

What does a worked overhead allocation example look like?

Take 60,000 of monthly shared overhead and three service lines logging 1,200, 2,000 and 800 hours. By hours the shares are 30, 50 and 20 percent, so the lines carry 18,000, 30,000 and 12,000. Switch the driver to revenue or headcount and the same 60,000 lands differently, as the table below shows.

Illustrative sample data, not client results: one month of 60,000 shared overhead allocated by three drivers (generic currency units, rounded to whole units).
Service line Hours Revenue Headcount Allocated by hours Allocated by revenue Allocated by headcount
Advisory1,200150,000418,00020,00017,143
Implementation2,000220,000730,00029,33330,000
Support80080,000312,00010,66712,857
Total4,000450,0001460,00060,00060,000
Margin after overhead for the same sample, using the hours driver.
Service line Revenue Direct costs Direct margin Allocated overhead Margin after overhead
Advisory150,00090,00060,00018,00042,000
Implementation220,000150,00070,00030,00040,000
Support80,00040,00040,00012,00028,000
Total450,000280,000170,00060,000110,000

The total margin after overhead is 110,000 whichever driver you choose, because it is simply direct margin minus the whole pool. The driver changes the split, never the total. That makes the total a free check: if it does not equal operating profit on the P&L for the same month, overhead has been dropped or counted twice. When the target is the customer rather than the service line, the same driver logic becomes cost to serve, which our guide to Power BI customer profitability analysis builds from orders, deliveries, returns and support tickets.

How do you reconcile allocated overhead back to the general ledger?

Prove three identities every month: allocated plus unallocated overhead equals the overhead booked to shared cost centers; margin after overhead summed across targets equals operating profit on the P&L; and driver shares add to 100 percent. Put them on a reconciliation page with a difference column that should read zero.

Build the page as a matrix with months on rows and four columns: overhead booked, allocated, unallocated and difference. When the difference is not zero, the usual causes are a service line that exists in the timesheet system but not in the dimension, so its hours relate to nothing; allocation rows appended without their offsetting credit; or rounding in Power Query that was never pushed to a single target. A non-zero Unallocated figure is not an error in itself. A month with no timesheets loaded yet should show its overhead as unallocated, visibly, rather than spread on last month’s shares or quietly left out.

How do you handle step-down allocations between service departments?

In a step-down allocation, support departments such as IT and HR are allocated in a fixed order: the first spreads its cost to every department that uses it, including later support departments, and each one after it then spreads its own cost plus what it received. Build it as ordered steps in Power Query, not in DAX.

A short example: IT has 10,000 of cost and HR has 6,000. IT goes first, allocated by headcount, and 1,000 of it lands on HR. HR then spreads 7,000, its own 6,000 plus the 1,000 received, to the operating departments only; nothing is allocated back to IT once IT is closed out. In Power Query each step is its own query that references the previous result, which keeps every stage inspectable. The direct method, which sends every support department straight to the operating departments, is simpler and is reasonable when support departments use little of each other. The reciprocal method solves the mutual usage as simultaneous equations; that is usually better done in the ERP or a spreadsheet and loaded as finished allocation rows.

Why does an overhead allocation look wrong?

Most wrong allocations come from timing and grain, not arithmetic. Annual figures built from annual shares, drivers and costs from different months, allocation rows appended without an offsetting entry, and admin hours logged against the shared cost center each push the totals or the split off, usually without any error message.

  1. Does the year match the sum of its months? If not, the allocation measure is not iterating months, and annual shares are being applied to the annual pool.
  2. Are the driver and the cost from the same period? Hours by work date against overhead by posting date can drift when timesheets or accruals arrive late.
  3. Is the shared cost center logging hours? Admin time coded to the shared line gives it a share of its own overhead, which then never leaves.
  4. Is any cost being allocated that could be charged directly? A software licence used by one team belongs on that team, not in the pool.
  5. Has overhead been loaded twice? If the ERP already posts allocation journals, load them and switch the Power BI calculation off.
  6. Is a line being cut on its loaded margin alone? Compare its direct margin first; the overhead it carries usually stays behind when it goes.

When should a senior engineer build it for you?

Bring in help when allocated margins drive pricing, bonuses or decisions to drop a client or product, and the inputs are messy: several entities, timesheets in a separate system, step-down between support departments, or a board that wants the numbers to tie to the ledger. The DAX is short; agreeing drivers with finance takes longer.

Power BI Flex Support is prepaid, senior-led Power BI hours that never expire, with no contracts and no project minimums. Blocks are Starter $2,500, Growth $4,600 and Power $8,000, and hourly work starts from $100. You send the request, we reply with a scope and an hours estimate before any work, hours are deducted only for work you approve, and most tasks land 3–5 business days after approval. Firms that sell time usually allocate overhead by hours to service lines and clients, which is part of what we build in Power BI for professional services; fractional CFOs can keep one pool mapping and one set of allocation measures across every client ledger with Power BI for fractional CFOs. Contact is through the form on this site.

FAQ

Frequently asked questions

Not unless you post it. A Power BI allocation is a management-reporting view built from the ledger; the books keep overhead on the shared cost centers. If you also post allocation journals in the ERP, load those entries instead of recalculating them, or the report will count the overhead twice.

Yes, and they usually should. Keep a pool column on the account mapping table and a small mapping of pool to driver, then iterate over pools with SUMX, picking each pool's share measure with SWITCH. Rent by square footage, IT by headcount and admin by hours often gives a fairer split than one driver for everything.

Actual rates tie exactly to the ledger but swing when a month has unusual overhead or low activity. A predetermined rate, set from the budget at the start of the year, keeps unit costs stable and leaves an over- or under-absorbed balance to report. Manufacturing costing commonly uses the predetermined rate; monthly management reporting often allocates actuals.

No. Break-even analysis sorts the ledger by cost behavior, fixed or variable, to find the revenue that covers fixed costs. Overhead allocation assigns shared costs to products, customers or projects to show their fully loaded margin. They can share one account mapping table, and a line that loses money after allocation may still contribute.

Yes. A senior, US-based, Microsoft-certified engineer can map your overhead pools, agree drivers with finance, build the allocation in Power Query or DAX and add a reconciliation page, using prepaid Flex hours that never expire. Blocks are Starter $2,500, Growth $4,600 and Power $8,000, with hourly work from $100. We quote the hours first.

Try us risk-free for 4 hours

If you’re unhappy within the first 4 hours of your block, we’ll refund you in full — no questions asked. Hours are deducted only for work you’ve reviewed and approved, and they never expire.

Want margins after overhead that tie to your ledger?

Bring your general ledger and your driver data to a free demo. We agree the overhead pools and drivers with you, build the allocation and a reconciliation page that proves every dollar, on prepaid hours that never expire. Most tasks land in 3–5 business days.

Scope approved before any hours are used · Hours never expire

Book a free demo

See what your Power BI reporting would take

Tell us the task. We reply within one business day, and you get a scope estimate and the hours needed before any work begins.

Step 1 of 2: What do you need?

How can we help? Pick one

Tap to add, or type your own:

Step 2 of 2: Where should we reply?

Used only to contact you about this inquiry.

We reply within one business day. Scope approved before any hours are used. We don’t sell your information.

Tell us the task. We scope it, you approve, and a senior consultant delivers — typically in 3–5 business days. Prepaid hours that never expire.

  • Prepaid hours from $100/hour — and they never expire
  • Senior-led delivery — 20+ years on the Microsoft platform
  • Typical 3–5 business day turnaround
  • Full refund if you’re unhappy in your first 4 hours
Book my free demo