Give the blank a reason before giving it a value
A blank cost can mean that the supplier has not billed, a connector failed to supply the field, the amount does not apply, or a reviewer has not completed the estimate. Those situations lead to different decisions. Replacing every blank with zero can make incomplete records look finished and can overstate a margin without producing an obvious error.
Define the field's permitted states with the report owner. Distinguish a verified zero from missing information and from a value that cannot yet be calculated. Keep an explanation or status beside unresolved records. Where the reporting tool cannot display these states clearly, publish a separate completeness measure with the financial result.
Check how the calculation treats missing inputs
PostgreSQL documents that its sum and average aggregates use non-null inputs, while count of a particular expression counts only non-null values. Counting all rows answers another question. Its sum over no qualifying rows returns null. These are database behaviors, not accounting policies; another reporting tool needs its own checked definition.
Consider a hypothetical set of three completed jobs. Recorded costs are $100 and $200, while the third job's cost is missing. Averaging the two available costs gives $150. Replacing the missing amount with zero and dividing $300 by three jobs gives $100. Neither number establishes the average cost of all three jobs until the missing cost is resolved or a disclosed estimation method is approved.
Ask the analyst to show both the financial expression and the population count used as its denominator. A dashboard can display the correct number of jobs while an adjacent average silently uses fewer records.
References: PostgreSQL: Aggregate functions and null inputs
Measure the unanswered part of the report
List missing values by source, entity, period, and responsible owner. Report how many records are affected and, where available, a separate measure of their business significance. An unresolved cost attached to a large project deserves different attention from an optional label on a dormant record.
Trace a few missing fields to the original transaction. If the source contains an amount, repair extraction or mapping. If the source is also incomplete, send the question to the person responsible for supplying or estimating it. An analyst should not invent an accounting estimate merely to remove a blank from the chart.
Keep structural absence distinct from a timing backlog. A field intentionally unavailable for one transaction type may need a different calculation. A delayed import needs a recovery and completion check. Combining those exceptions makes it difficult to tell whether the report is getting better.
Make a controlled display choice
Finance can approve a presentation rule for genuinely empty populations, such as displaying no activity when a complete source confirms there were no transactions. Record the condition that supports that label. It should not apply when the extract failed or when the source population itself is unknown.
Test one confirmed zero, one missing amount, one excluded transaction, and a period with no transactions. Check charts, exports, totals, and ratios because a display format may conceal a value that remains different underneath. Keep the tests small enough for a report owner to explain the expected result.
When the missing evidence arrives, preserve the earlier report version and identify the resulting revision. A report presented with a disclosed gap can then be completed transparently. A number that appeared final should be assessed for correction before management continues to rely on it.
Sources
Requirements and product details can change. Check the linked guidance for the facts that apply to your situation.
Related reading
Need help with this work?
General information, not personalized accounting, tax, legal, or investment advice. Have the appropriate qualified professional review decisions that depend on your circumstances.