A credit dashboard can look convincing while using the wrong account grain, stale balances, or inconsistent aging dates. This guide shows you how to build a traceable path from a credit extract to a decision: clean and type fields, reconcile totals, calculate aging from one snapshot date, assign exceptions in the right order, and investigate missing or duplicate keys. You will use formulas and lookups for account decisions, PivotTables to test portfolio patterns, and repeatable transformations to combine periodic extracts. In a data model, you will separate transaction facts from account attributes, then interpret measures in their filter context. Throughout, the focus is on what a result means for a Canadian credit team and how to check it before sharing.
Managing Credit with Information Technology I
1. Relative and fixed references
A spreadsheet reference has a column and a row, and each part can move independently when you copy a formula. In `B2`, both parts are relative: copying down one row changes the reference to `B3`. Dollar signs fix a part, so `$F$1` always points to the rate in column F, row 1. Mixed references, such as `$F1` or `F$1`, fix only the column or row. Use them when copying a calculation across a grid of customers and periods. Before filling a formula, identify which inputs belong to each invoice and which assumptions apply to every invoice. Then inspect the first copied formula, rather than trusting a plausible-looking result. This distinction supports the formula work listed in the CCP course outline.
Worked example: Put $1,000 in B2, $2,000 in B3 and 2% in F1. Enter `=B2*$F$1` in C2 and copy it to C3. The formulas calculate $1,000 × 0.02 = $20 and $2,000 × 0.02 = $40. The copied formula becomes `=B3*$F$1`; without the dollar signs, it would read F2 instead of the intended rate.
Watch the distinction: Fixing every reference is tempting, but `$B$2*$F$1` repeats the first invoice's charge on every row. Only the shared rate needs fixing here.
Reference: [1]
2. Calculation order
Spreadsheet formulas follow an order of operations: multiplication and division are evaluated before addition and subtraction. Parentheses override that order and make the business rule visible. For an advance calculation, first decide what amount is eligible, then apply the advance rate to that amount. If cash must be deducted from receivables before the rate is applied, enclose the subtraction in parentheses. A formula can be mathematically valid yet implement the wrong credit rule, so check its result against a simple estimate. A 50% advance against an $8,000 net base should be near $4,000, not $9,000. Keep the meaning of each input clear as well: an amount already deducted upstream must not be subtracted a second time. Read the formula in the same sequence as the intended decision.
Worked example: Assume $10,000 of receivables, a $2,000 cash deduction and a hypothetical 50% advance rate. `=(10000-2000)*50%` gives an $8,000 net base and a $4,000 advance. `=10000-2000*50%` calculates $10,000 minus $1,000, or $9,000, because it applies the rate only to the cash figure. The first formula expresses the stated rule.
Watch the distinction: A $9,000 result may look reasonable beside $10,000 of receivables. Check which quantity the rate multiplies; appearance alone cannot validate the formula.
Reference: [1]
3. Rates versus displayed percentages
A percentage is usually stored as a decimal fraction. In a spreadsheet, 15% is the numeric value 0.15; percentage formatting displays that value after multiplying it by 100 and adding a percent sign. The formatting does not change what later formulas use. To calculate a past-due share, divide past-due balance by the relevant total balance, then format the result as a percentage. Check that numerator and denominator cover the same reporting date and portfolio. If the total is zero, the ratio is undefined and needs a visible exception. Avoid typing 15 into a rate cell that downstream formulas treat as 15%; it may be interpreted as 1,500%. A quick control is to convert the displayed share back into dollars: 15% of $80,000 should equal $12,000.
Worked example: Suppose past-due receivables are $12,000 and total receivables are $80,000. `=12000/80000` stores 0.15. Formatting the result as a percentage displays 15%. Multiplying the stored value by $80,000 returns $12,000, confirming the interpretation. If you also multiply the formula by 100 and then apply percentage formatting, the cell displays 1,500%.
Watch the distinction: Do not confuse display with data. Changing a cell to percentage format does not turn a stored 15 into 0.15; it displays 1,500%.
Reference: [1]
4. Dates and elapsed days
Aging requires two genuine date values: the invoice's due date and one stated reporting date. Spreadsheet dates are stored as serial values, so subtracting the due date from the reporting date returns elapsed calendar days. A positive result is past due, zero is due on the reporting date, and a negative result is not yet due. For a report focused on overdue days, `MAX(0,AsOfDate-DueDate)` can suppress negative values, but retain a separate current or not-yet-due label. Imported text can resemble a date while remaining unsuitable for reliable subtraction. Check the field type and parsing convention before converting it, especially where day and month order may differ. Use a fixed reporting date for the snapshot; a volatile `TODAY()` formula changes historical aging whenever the workbook opens.
Worked example: With October 1, 2026 in A1 and September 11, 2026 in B2 as real dates, `=A$1-B2` returns 20 calendar days. If B2 contains imported text such as `'September 11, 2026`, subtraction may fail or depend on local parsing settings. Convert and verify B2 as a date first, then repeat the calculation.
Watch the distinction: A cell that looks like a date is not necessarily a date value. Sorting its text correctly once does not prove that date arithmetic will work.
Reference: [1]
5. Totals and average size
`SUM` answers how much balance the selected records represent. `AVERAGE` answers the mean balance among numeric records: their sum divided by their numeric count. These measures support different credit questions. Total balance describes exposure, while mean invoice size can help assess workload or identify unusually large invoices. Neither alone describes concentration, because one large invoice can lift the mean substantially. Check the denominator whenever blanks, text or filtered records appear. `AVERAGE` ignores empty and text cells but includes recorded zeros, so a missing balance and a valid zero produce different counts. For a customer-level average, first aggregate invoices by customer; an invoice-level average weights customers with more invoices more heavily. State the grain and reporting population beside any average so a reader can interpret it.
Worked example: Three invoice balances are $500, $1,000 and $1,500. `SUM` gives $500 + $1,000 + $1,500 = $3,000 of exposure. `AVERAGE` divides that $3,000 by three numeric invoices to give $1,000 per invoice. The $3,000 figure answers how much is outstanding; $1,000 describes invoice size in this three-record set.
Watch the distinction: Calling the $1,000 average a customer balance would change the unit of analysis. These are invoices, and multiple invoices may belong to one customer.
Reference: [1]
6. Counting populated records
Choose a counting function from the question and the field's meaning. `COUNT` counts numeric cells, making it useful for checking how many balance entries contain numbers. `COUNTA` counts cells that are not empty, including text IDs. `COUNTBLANK` counts empty cells in a range. A row can therefore have a present ID and a missing numeric balance, so the counts need not agree. Also inspect formulas that return an empty string: they may look blank but behave differently from truly empty cells in some counting and filtering tasks. For a reliable record count, use a required, validated key column and separately report missing keys. Counting numeric balances alone can quietly omit incomplete invoices. Apply all three functions to the same defined row span before comparing them; differing ranges create a false discrepancy.
Worked example: Across four account rows, IDs appear in three cells and one ID cell is empty. Two balance cells contain numbers; the other two are empty or nonnumeric. `COUNTA` on the ID range returns 3, `COUNT` on the balance range returns 2, and `COUNTBLANK` on the ID range returns 1. Each describes a different data-quality fact.
Watch the distinction: Using `COUNT` on text account IDs can return zero even when records exist. It counts numeric cells, not business records by definition.
Reference: [1]
7. Conditional balance totals
`SUMIFS` adds a numeric field only where every stated criterion holds. In a credit extract, keep the balance range and each criterion range aligned row for row: invoice balance, province and status must describe the same invoice. Then specify province and overdue status as separate conditions. Exact category values matter; a stray space can omit a row. The function totals invoice balances, so it does not deduplicate customers or decide whether an overdue invoice is disputed. Define those treatments before interpreting the output. Compare the conditional total with the full portfolio total and inspect a few included and excluded rows as a check. Province identifies a reporting segment here; it does not establish a uniform legal rule. For broader portfolio decisions, connect the result to the credit management guide.
Worked example: An extract has overdue Ontario invoices of $4,000 and $2,500, a current Ontario invoice of $3,000, and an overdue Alberta invoice of $1,000. `=SUMIFS(Balance,Province,"Ontario",Status,"Overdue")` adds only $4,000 + $2,500 = $6,500. The $3,000 fails the status test; the $1,000 fails the province test.
Watch the distinction: Summing all Ontario rows gives $9,500, which overstates Ontario overdue exposure by $3,000. Both conditions must be applied to the same records.
Reference: [1]
8. Conditional account counts
`COUNTIFS` counts rows for which all criteria are true. It is suited to questions such as how many overdue invoices exceed an illustrative review threshold. The comparison operator belongs inside a criterion such as `">1000"`; using `">=1000"` changes the boundary. A row count is not a count of unique customers: one customer with three qualifying invoices contributes three unless the data is first aggregated or a distinct-count method is used. Likewise, the count says nothing about the amount at risk. Pair it with `SUMIFS` when both workload and exposure matter. Before using a threshold, check whether the input represents invoice balance or customer exposure. A customer-level rule cannot be implemented correctly by testing each invoice separately if several smaller invoices together exceed the threshold.
Worked example: Suppose four overdue invoices have hypothetical balances of $600, $1,200, $1,500 and $2,000. `=COUNTIFS(Status,"Overdue",Balance,">1000")` returns 3, since only the last three exceed $1,000. Their associated balance is $1,200 + $1,500 + $2,000 = $4,700, but the count alone reports three qualifying invoice rows.
Watch the distinction: An invoice of exactly $1,000 does not satisfy `">1000"`. Including it silently changes a greater-than rule into a greater-than-or-equal rule.
Reference: [1]
9. Rounding at the right stage
Rounding is part of a calculation rule, not merely a display choice. Formatting a cell to show two decimal places leaves its underlying value available at greater precision. `ROUND(value,2)` changes the calculated value to cents. If each charge is posted separately, the report may need to sum rounded line amounts. If a charge is calculated on the aggregate, it may need to sum unrounded values and round once. Those methods can differ because each line contributes its own fractional cent. Specify the method before reconciling the report to posted transactions. Keep enough precision in intermediate calculations to avoid unintended drift, and do not force a reconciliation by adding an unexplained cent. The method should reflect the transaction process illustrated by the problem, not an assumed universal billing rule.
Worked example: Assume three hypothetical charges are exactly $0.335 each and use decimal rounding to cents. Rounding each line gives $0.34 + $0.34 + $0.34 = $1.02. Summing first gives $0.335 × 3 = $1.005, which rounds to $1.01. The one-cent difference follows from the rounding stage; identify which amount corresponds to the stated posting method.
Watch the distinction: Displaying each $0.335 charge as $0.34 does not necessarily make a `SUM` of the underlying cells equal $1.02. Display formatting alone does not round stored values.
Reference: [1]
10. Errors as diagnostic signals
A formula error can identify a real problem in the inputs. Division by zero, for example, produces `#DIV/0!` because an exposure-to-limit ratio has no numeric value when the recorded limit is zero. `IFERROR` can replace the cell error with a clear review label, but a broad wrapper can also hide misspelled references, unexpected text and broken lookups. Check the expected failure explicitly where possible, such as testing whether the limit is zero or missing, then calculate the ratio only when valid. Keep the underlying inputs visible so someone can resolve the exception. Do not substitute zero for an undefined rate: zero suggests no exposure relative to the limit, which reverses the signal. A useful report distinguishes a valid 0% result from an unavailable percentage.
Worked example: An account has $500 exposure and a recorded $0 limit. `=500/0` yields `#DIV/0!`, not a percentage. `=IFERROR(B2/C2,"Review limit")` displays “Review limit” when B2 is $500 and C2 is $0. If C2 is corrected to $1,000, the same formula returns 0.5, displayed as 50%.
Watch the distinction: Replacing every formula error with 0% makes the $500 exposure appear harmless. An undefined ratio is an exception requiring investigation, not a measured zero.
Reference: [1]
11. Tabular source structure
A dependable analysis range has one header row and one record per row. Each column should hold one field with a consistent meaning and type, such as invoice ID, customer ID, due date or balance. Avoid merged headings, manual subtotal rows and notes inside the records; they interfere with sorting, filtering and aggregation. Converting the range to an Excel table gives it named columns and lets formulas refer to fields rather than fixed coordinates. A new invoice entered directly beneath the table can then become part of its data range. Confirm the table expanded, especially after pasted data. Also define the record grain: if a row represents an invoice, a payment transaction should not be mixed into the same balance column as though it were another invoice.
Worked example: Five invoice rows in a table total $9,000. Enter a sixth invoice with a $1,200 balance as a new table row. `=SUM(Invoices[Balance])` now returns $9,000 + $1,200 = $10,200. If the new row sits outside the table, the structured total stays $9,000, so confirm its inclusion.
Watch the distinction: A bold subtotal inserted among invoice rows is still data to a table or pivot. It can be counted and added again, overstating exposure.
Reference: [1]
12. Field types
A field's type should reflect how it is used. Account and invoice IDs are labels, even when they contain only digits; arithmetic on them has no business meaning. Balances should be numeric, dates should be date values, and categories such as status should use consistent text. Type choices affect sorting, joins, calculations and imports. Converting an ID to a number may strip leading zeros, while keeping a balance as text may prevent a total or cause an unexpected blank. Inspect representative values before changing types and compare distinct keys before and after conversion. A successful-looking conversion is not proof of a sound match: two differently formatted identifiers might collapse into one numeric value. Preserve the original export field alongside a normalized field when matching records across systems.
Worked example: The exported account ID is `00125`. If it is stored as text, an exact match against another text field containing `00125` succeeds. Converting it to the number 125 removes the two leading zeros. A text-based lookup for `00125` may then fail, even though both displays refer to the intended account.
Watch the distinction: Numeric appearance does not make an identifier a quantity. Adding, averaging or reformatting account IDs can corrupt the key used to join credit records.
Reference: [1]
13. Text cleanup and matching
Matching keys from separate systems often requires controlled text cleanup. Leading and trailing ordinary spaces can be removed with `TRIM`; case can be standardized with `UPPER` or `LOWER` when the business key is case-insensitive. Apply the same normalization to both sides of a join, then compare the cleaned keys. Retain each raw value so an analyst can distinguish a harmless formatting difference from a genuine discrepancy. `TRIM` does not remove every possible imported whitespace character, and internal characters such as hyphens may be meaningful. Check the actual source of a failed match before stripping punctuation. Also test whether normalization creates duplicates: if two distinct raw keys become one cleaned key, the proposed rule may be too aggressive. Count unmatched records again after each cleanup step.
Worked example: A customer extract contains the key ` AB-42 `, while an invoice extract contains `AB-42`. An exact raw match fails. Applying `TRIM` to the first key gives `AB-42`, so the cleaned keys match. Keep ` AB-42 ` in a raw-key column and use the cleaned key for matching; this makes the correction traceable.
Watch the distinction: Removing every space or hyphen from every key may create false matches. Normalize only characters known to be formatting noise in that identifier system.
Reference: [1]
14. Blank, zero and unavailable
A recorded zero, an empty cell and an unavailable value carry different information. Zero is a numeric observation: a matched account may truly have no outstanding balance. An empty cell may mean the amount was omitted, while an explicit unavailable marker means the source did not supply a usable value. Decide how these states enter calculations before summing. Spreadsheet totals often ignore blanks, which can make an incomplete report appear complete. Add a completeness flag or missing-value count beside the amount total. A lookup failure is a fourth condition: the account itself did not match the reference list, so it should not be treated as a matched account with a blank balance. In a credit review, preserve the distinction between known exposure of zero and exposure that cannot yet be established.
Worked example: Account A matches the source and has a numeric $0 balance; it contributes $0 to known exposure. Account B matches but has an empty balance cell. Label B “Incomplete” and count one missing amount. Reporting both accounts as paid would incorrectly claim that B's unknown balance is zero, even though the known total remains $0.
Watch the distinction: Filling every blank balance with zero simplifies formulas but removes evidence of missing data. The resulting total may understate exposure without showing why.
Reference: [1]
15. Duplicate keys
A duplicate is defined at the business grain of the data, not just by a repeated visible number. An invoice number may be unique only within a customer, branch or source system. First identify the fields that together define one invoice record, then test those composite keys for repeats. Compare amounts, dates, status and extract metadata before deleting anything. Two identical rows may be a repeated export; two rows with the same invoice number may instead represent separate customers or legitimate transactions. Duplicates affect totals and lookups differently: summing both can overstate exposure, while a first-match lookup can conceal the second. Reconcile the number and value of removed rows against the source, and keep a reason for each removal so the reported balance remains explainable.
Worked example: Invoice 410 appears twice at $700. If customer ID, invoice ID, amount and source record ID confirm the same export record was repeated, the raw sum is $700 + $700 = $1,400. Keeping one record yields $700, so the duplicate overstated exposure by $700. If the customer IDs differ, investigate before removing either row.
Watch the distinction: Deleting every repeated invoice number can discard a valid invoice from another customer. Establish the correct composite key before treating a row as duplicate.
Reference: [1]
16. Consistent aging snapshots
An aging report is a snapshot, so every invoice needs the same as-of date. Calculate days past due as the reporting date minus each due date, then assign each result to a defined bucket. A negative value means the invoice is not yet due. Mixing dates changes bucket membership even if no payment or invoice changed, making customer and period comparisons unreliable. Store the reporting date once and refer to it with a fixed cell reference or parameter. Check that source invoices and balances also reflect the intended snapshot; a current balance combined with an old due-date extract can mislead. Aging is an analytical classification, not a statement about a province's collection rights or deadlines. Keep any legal assessment separate and tied to its applicable jurisdiction.
Worked example: Using October 1, 2026 for both invoices, one due September 21 is 10 calendar days past due. Another due October 6 has a result of minus 5 days and is not yet due. If the second invoice were instead aged as of October 11, it would show 5 days past due, making the shared report inconsistent.
Watch the distinction: Using `TODAY()` for a saved historical snapshot causes its aging buckets to change on later opens. Fix the as-of date used for that report.
Reference: [1]
17. Source-to-report reconciliation
Reconciliation checks whether cleaning changed the population or amount in an explainable way. Record the source row count and balance total before transformation, then compare them with the report-ready table. For every difference, identify the affected rows and reasons, such as a duplicate export, cancelled invoice or conversion error. A matching total alone is insufficient because two opposite errors can cancel; a matching row count alone cannot show whether amounts changed. Use a small reconciliation schedule with opening count and amount, each adjustment, and closing count and amount. Investigate unexplained differences before using the report for a credit decision. Keep the source extract unchanged so an analyst can reproduce the adjustment. This is particularly useful when a cleaned dataset feeds a recurring collections or exposure report.
Worked example: The source has 100 rows totalling $250,000; the cleaned table has 99 rows totalling $248,000. The differences are one row and $2,000. Locate the excluded $2,000 record, then inspect its customer, invoice and source identifiers. If it duplicates a retained record, document that removal; if it is a valid invoice, restore it.
Watch the distinction: A $2,000 difference is not explained merely by saying one row was removed. Verify what the row represents before accepting the lower exposure.
Reference: [1]
18. Controlled data entry
Controlled entry reduces category drift in a reusable template. A validation list limits a status field to agreed labels, allowing formulas, filters and summaries to recognize the same categories each time. Set a clear input message and an error cue so users know the permitted values. Clean historical data separately: validation on new entries does not automatically repair existing misspellings or imported values. Also remember that a valid label is only syntactically valid. Someone can select “Current” for an overdue invoice, so independent checks against due date and dispute records may still be needed. Protect calculated columns while leaving intended input cells editable. For repeated imports, compare the distinct status values against the permitted list and investigate exceptions before trusting a status-specific total.
Worked example: A template permits `Current`, `Overdue` and `Disputed`. Without validation, a user types `Overdue ` with a trailing space. A `SUMIFS` criterion of `Overdue` may omit that row as a separate category. Validation rejects the extra-space entry, prompting the user to select `Overdue`; the invoice then enters the intended total.
Watch the distinction: A validation list does not establish that the chosen status is true. It controls allowed text, while due dates and dispute evidence establish classification.
Reference: [1]
19. Single-condition decisions
`IF` turns a stated condition into one of two results. Write the condition precisely, then define what happens when it is true and when it is false: `IF(test,true_result,false_result)`. For a hypothetical balance-review flag, `>` means strictly greater than; `>=` includes the boundary. Use a clearly identified balance field and decide how blanks should behave before applying the rule. A blank that spreadsheet arithmetic treats like zero could otherwise be labelled routine when the amount is unknown. Keep the flag separate from the underlying amount so a reviewer can see why it appeared. One flag is a screening result, not a complete credit decision. Work further boundary cases and data exceptions with the course practice questions.
Worked example: Assume an illustrative rule that flags balances greater than $5,000. `=IF(B2>5000,"Review","Routine")` returns `Review` for $5,200 and `Routine` for $4,800. At exactly $5,000, the test is false, so the result is also `Routine`. If the intended rule includes $5,000, change the operator to `>=`.
Watch the distinction: Using `>=` because it feels safer changes the stated rule. Test one value below, exactly at and above the boundary to confirm implementation.
Reference: [1]
20. Multi-condition labels
`IFS` evaluates conditions in order and returns the result for the first true condition. That makes order important for aging labels. Define the population first: negative days are not yet due, zero can be current, and positive days enter overdue bands. Then make the bands exhaustive and nonoverlapping. One approach tests `days<=30`, then `days<=60`, then `TRUE` for older values, but only after handling negative or invalid inputs. Another approach states both bounds for each band. Check boundary values such as 30, 31, 60 and 61, because an off-by-one condition moves an invoice to the wrong queue. If a broad condition such as `days>30` comes before `days>60`, the oldest invoices satisfy the first condition and never reach the older label.
Worked example: Assume illustrative overdue bands of 0 to 30, 31 to 60, and over 60 calendar days. An invoice 45 days past due fails `days<=30` and passes `days<=60`, so `IFS` labels it `31 to 60`. An invoice 61 days past due reaches the final band. Placing `days>30` first would incorrectly label both 45 and 61 alike.
Watch the distinction: Writing apparently sensible conditions is insufficient when they overlap. `IFS` returns the first true result, so test the oldest boundary after checking condition order.
Reference: [1]
21. AND and OR criteria
A credit rule must say whether every condition is required or whether any one condition triggers action. In Excel, `AND` returns TRUE only when all tests are true; `OR` returns TRUE when at least one is true. Read the business wording before writing the formula: “over 30 days and above $10,000” is a narrower queue than “over 30 days or above $10,000.” Use explicit comparisons such as `D2>30` and `E2>10000`, then place the combined test inside `IF` if a label is needed. Check equality at each boundary, since “more than” excludes the stated value. Blank dates or balances deserve a separate completeness check; a logical result from incomplete inputs may look authoritative. The CIC CCP course outline identifies logic and lookups as part of this course.
Worked example: Suppose D2 holds 40 days overdue and E2 holds a $7,000 balance. `=AND(D2>30,E2>10000)` evaluates TRUE and FALSE, so the result is FALSE. `=OR(D2>30,E2>10000)` evaluates the same tests and returns TRUE. The account enters a queue triggered by either condition, but not a queue requiring both. These are illustrative review rules, not prescribed thresholds.
Watch the distinction: Using OR when a rule says both conditions must hold sends accounts for review even when only one trigger is present. Translate the wording into separate tests first.
Reference: [1]
22. Exception precedence
A routine aging label should be assigned only after exceptions that change the work path have been identified. A disputed invoice can still be overdue in calendar days, but its status calls for investigation of the dispute before ordinary collection treatment. Likewise, a missing due date prevents a dependable aging calculation. Put those checks before the age bands in a nested `IF` or ordered `IFS`: test missing required fields, then dispute status, then the day ranges. Keep days past due and workflow status in separate columns when useful, so an exception does not erase the underlying age. The order is part of the rule: the first matching branch wins. Check the resulting exception count as well as the aging totals to catch a formula that silently routes records into ordinary buckets.
Worked example: A $3,000 invoice has a valid due date, is 50 days overdue, and carries the status Disputed. An ordered decision checks for missing data, then checks Disputed, then checks aging bands. The missing-data test is false; the dispute test is true, so the output is Disputed. Its 50 days remain available for reporting, but the ordinary 31-to-60-day collection queue excludes it.
Watch the distinction: Classifying every invoice by days past due first can bury disputes inside a routine collection list. Preserve the age, but let the exception determine the immediate work queue.
Reference: [1]
23. Exact-match lookups
A customer identifier is a category key, not a quantity on which a nearby value is acceptable. Use an exact-match lookup to bring a credit limit or other customer attribute into an invoice table. For example, `XLOOKUP` defaults to exact matching, while `VLOOKUP` should specify FALSE for its match argument. First verify that the key has a consistent type and format in both tables, including leading zeros and spaces. Also check that the customer table contains one authoritative row per key; an exact lookup can still return the first of several conflicting rows. Display an explicit unmatched result for absent keys rather than silently applying another customer's limit. Once matched, compare the retrieved limit with customer-level exposure, which may require summing several invoices rather than examining one invoice alone.
Worked example: The customer table lists C204 with a $25,000 limit and C205 with a $40,000 limit. An exact lookup of C204 returns $25,000. If C204 has $27,000 in open invoices, its excess is $27,000 minus $25,000, or $2,000. A nearest-match lookup that selected C205 would falsely show $13,000 of unused limit, so the match method matters.
Watch the distinction: An account code that resembles a number does not justify approximate matching. A nearby code belongs to another customer and can reverse an over-limit decision.
Reference: [1]
24. Missing lookup results
A lookup can produce three materially different states: no customer row matched, a row matched but its required field is blank, or a row matched with a genuine zero. Keep these states distinct. A zero limit may be an intentional restriction; a blank limit may mean the customer record needs completion; an unmatched account may signal a bad key or missing master record. A lookup error handler can label an absent key, but it should not convert every error to zero. For stronger control, count exact key matches separately and inspect the returned field only when the count is one. Include unmatched invoice balances in a reconciliation total and an exception list. Otherwise a clean-looking exposure report can omit the very accounts whose identity or approval status needs attention.
Worked example: Four invoices total $23,000. Three account IDs match the customer table and carry $15,000 combined; the fourth is an unmatched $8,000 invoice. Report $23,000 of invoice exposure, with $8,000 flagged as unmatched. Do not assign that invoice a $0 limit or drop it: either action would suggest a decision has been made before its customer record is identified.
Watch the distinction: Replacing a missing lookup with zero hides whether the account was found. Test the match itself, then interpret a blank or zero attribute only for a matched row.
Reference: [1]
25. Composite business keys
A lookup key must identify a record at the grain of the question. Invoice numbers may repeat across customers, branches, systems, or reporting periods, so invoice number alone is not necessarily unique. If the business identifier is customer plus invoice number, use both fields in the match or build a composite key with an unambiguous separator. Normalize field types and spacing first, then test whether each composite key occurs once in the intended table. A concatenated key can still collide if components contain the separator or have inconsistent formatting; matching on two explicit columns avoids that risk. Do not add a reporting month to the key merely because it is available: include it when monthly snapshots make otherwise identical records distinct. Define the key before deduplicating or summing.
Worked example: Customer A has invoice 1001 for $400; customer B also has invoice 1001, for $900. A lookup on invoice 1001 alone has two candidates. Matching customer B and invoice 1001 selects the $900 record. The two rows total $1,300 across both customers, but B's invoice exposure is $900. Neither row is a duplicate at the customer-invoice grain.
Watch the distinction: Removing a repeated invoice number without checking its customer can delete a valid receivable. Establish the business key and inspect repeated keys at that grain.
Reference: [1]
26. First-match traps
A lookup usually returns one result for a key, even when the source contains several matching transactions. That behaviour is suitable for retrieving one customer attribute from a unique customer table. It is unsuitable for measuring total open exposure when a customer can have multiple invoices. Decide whether the task asks for a single record, a customer total, or a customer count. Use `SUMIFS` for the total, `COUNTIFS` for the number of matching invoices, and a duplicate-key check when a supposedly unique lookup table has repeats. The distinction matters in the Credit Management guide as well: credit decisions commonly concern the customer's combined position, while investigation may still need invoice detail. Keep the transaction rows available to explain any aggregate.
Worked example: Customer X has two open invoices, $300 and $450. A first-match lookup by customer might return $300, depending on row order. `SUMIFS` on open balances for X gives $300 + $450 = $750; `COUNTIFS` gives two invoices. If X's illustrative limit is $700, the customer exceeds it by $50, a fact the first lookup misses.
Watch the distinction: A returned value is not automatically a customer total. When the key repeats across transactions, aggregate the qualifying rows or retrieve the specific invoice intended.
Reference: [1]
27. Threshold bands
A threshold table stores the lower bound of each band and its label. For days past due, illustrative starts of 0, 31, and 61 define 0 to 30, 31 to 60, and 61 or more. An approximate lookup selects the greatest lower bound that does not exceed the input, provided the method and table order are appropriate. With traditional approximate `VLOOKUP`, sort thresholds in ascending order; an unsorted table can return an incorrect band. Test every boundary and the value immediately below it. Negative days, meaning an invoice is not yet due, need a separate current or not-due classification because a table beginning at zero has no matching lower bound. These bands are example inputs, not a prescribed Canadian credit standard. Apply one reporting date to all invoices before computing the day values.
Worked example: The illustrative table starts at 0, 31, and 61 days. A 60-day value is at least 31 but below 61, so it maps to 31 to 60. A 61-day value reaches the next lower bound and maps to 61 or more. A value of minus 5 days is not yet due and should be handled before the threshold lookup.
Watch the distinction: An approximate lookup is not a substitute for sorting and boundary checks. Misordered starts or an unhandled negative day value can place an invoice in the wrong aging group.
Reference: [1]
28. Two-way retrieval
When a table contains one balance per account and reporting period, the account identifies a row and the period identifies a column. Retrieving by account alone can return the wrong month's value. In a matrix, one exact match finds the account row and another exact match finds the period column; `INDEX` can then return their intersection. A table stored in long form can instead match both account and month, provided that pair is unique. Check period labels for consistent date types, since text such as “Sep” may refer to different years. Decide whether the cells are month-end snapshots or monthly transactions: summing successive snapshots would double count continuing receivables. For a trend, compare like reporting dates and calculate the change from the two selected values.
Worked example: Account A has a month-end balance of $2,000 in August and $2,600 in September. Matching row A and column September returns $2,600. The month-to-month increase is $2,600 minus $2,000, or $600, which is 30% of August's $2,000 balance. The two snapshots should not be added as though they were separate invoices.
Watch the distinction: A single-key lookup may return August simply because it is the first row for account A. Include the reporting period in the retrieval.
Reference: [1]
29. Filtered detail lists
A filtered detail list preserves the individual invoices behind a credit question. In Excel, `FILTER` can evaluate two conditions together by multiplying their TRUE/FALSE arrays, such as dispute status and balance above a stated amount. The result spills into neighbouring cells and updates when source data changes, so the output area must remain clear. Use a structured source table when possible so added invoices enter the filter range. State the reporting period and any other applied conditions next to the list. An empty result means no records met those conditions in that source and period; it does not establish that there are no invoices, disputes, or data-quality problems. Check the source row count and status values when an expected list is unexpectedly empty.
Worked example: Five invoices include disputed balances of $700 and $1,400; the other three have different statuses. Filtering for Disputed and balance above a hypothetical $1,000 returns only the $1,400 invoice, because $700 fails the amount test. If next month's filter returns no rows, report zero qualifying rows for that month, then verify that the source loaded.
Watch the distinction: An empty spill range can result from narrow criteria or missing source data. Confirm the source and filters before concluding that disputed exposure has disappeared.
Reference: [1]
30. PivotTable grain
A PivotTable count measures rows with a populated selected field, not necessarily distinct business entities. If the source has one row per invoice, counting invoice IDs gives invoice volume. Repeated customer IDs remain repeated in an ordinary customer-ID count, so that count also reflects invoice rows unless a distinct-count option is used. State the report's grain before choosing the value field: a collections workload view may need invoices, while a portfolio coverage view needs unique customers. Where available, add the source to the Data Model to use distinct count, or prepare a unique customer list separately. Check that blank IDs and duplicate invoice rows have been addressed. A customer total can be correct while the associated customer count is wrong, changing how concentration or coverage is interpreted.
Worked example: Three valid invoice rows belong to customers A, A, and B. Counting populated invoice IDs returns 3 invoices. Counting customer IDs as ordinary PivotTable rows also returns 3, but a distinct customer count returns 2. For a report asking how many customers the team covers, use 2; for the number of invoice items to work, use 3.
Watch the distinction: Changing the value field from invoice ID to customer ID does not automatically produce unique customers. Verify whether the aggregation is Count or Distinct Count.
Reference: [1]
31. Aging buckets in a pivot
Create an aging bucket for every invoice before asking a PivotTable to sum balances by bucket. Calculate days past due from a single stated as-of date and each invoice's valid due date. Then classify current or not due amounts separately from overdue ranges. Keeping the bucket in the source data makes the classification inspectable and consistent across rows, charts, and refreshes. It also allows a disputed invoice to retain its calendar age while a separate status field directs its workflow. Check boundary values and missing dates before aggregation. A PivotTable can sum only the categories supplied to it; it cannot repair an inconsistent bucket formula. Compare the sum of all bucket totals with the source balance total to detect omitted or blank classifications.
Worked example: At one reporting date, three invoices have balances of $1,000 current, $2,000 at 20 days overdue, and $3,000 at 50 days overdue. Their bucket sums are $1,000 current, $2,000 in 1 to 30 days, and $3,000 in 31 to 60 days. The three buckets total $6,000, matching the three source balances.
Watch the distinction: Using each invoice's review date instead of one as-of date makes the buckets incomparable. Fix the snapshot date, then classify and reconcile all rows.
Reference: [1]
32. Sum, count and average
The same invoice set answers different questions depending on the PivotTable aggregation. Sum measures dollars exposed and helps prioritize the size of receivables. Count measures the number of items that may require contact or investigation. Average is sum divided by the number of included numeric balances and describes typical invoice size within that selection. None alone describes risk: one large invoice and many small ones can create the same sum with different work and concentration. Label the measure and filter context clearly, and inspect blanks because an average may exclude nonnumeric balances while a count of IDs still includes those rows. Comparing these measures is useful practice for the course's credit data exercises, provided the denominator and row grain are stated.
Worked example: Two overdue invoices are $1,000 and $9,000. Sum is $1,000 + $9,000 = $10,000 of overdue exposure; count is 2 invoice items; average is $10,000 divided by 2, or $5,000 per invoice. The sum shows dollars at stake, while the count suggests workload. The average does not imply either customer owes exactly $5,000.
Watch the distinction: A high average may come from one unusually large invoice. Inspect the underlying amounts before treating the average as a typical collections case.
Reference: [1]
33. Share of portfolio
A percentage of grand total is a fraction whose denominator depends on the records currently included in the PivotTable. Divide a region's balance by the total of all included regions, then multiply by 100 to express the share as a percentage. Filters, slicers, exclusions, and reporting dates can change that denominator. A rising displayed share may therefore reflect a fall elsewhere rather than growth in the selected region. Show both dollars and percentages when discussing concentration, and name the portfolio universe. Do not add percentages from different filtered views or periods as if their bases were identical. When comparing periods, calculate each share from the corresponding period total and examine the underlying balances to distinguish genuine concentration change from a change in the portfolio base.
Worked example: Region A holds $30,000 of a $120,000 portfolio, so its share is $30,000 ÷ $120,000 = 25%. Suppose a filter removes $40,000 from other regions while leaving A unchanged. The displayed total becomes $80,000 and A's share becomes $30,000 ÷ $80,000 = 37.5%. A's balance did not rise; the denominator fell.
Watch the distinction: Reading a larger percentage as proof of larger exposure ignores the denominator. Check the filtered grand total and the region's dollar balance.
Reference: [1]
34. Filters and slicers
A PivotTable's filters and slicers define the population behind every displayed value. A province selection, status filter, or date slicer can turn a national exposure measure into a regional or period-specific one without changing the source records. Before exporting a view, record the selected values and confirm whether multiple selections or hidden filters remain active. Compare the filtered total with an unfiltered control total to understand what was excluded. This is especially important in Canadian credit work when a province view informs follow-up: the selected province should describe the accounts shown, and any later legal analysis must use the applicable provincial rules, with Quebec civil law distinguished where relevant. A slicer improves navigation but is not evidence that the displayed source data is complete or current.
Worked example: An unfiltered PivotTable shows $90,000 across all provinces. Selecting Quebec leaves $35,000. The difference, $90,000 minus $35,000, is $55,000 outside the selected Quebec view. Label the exported result “Quebec exposure: $35,000” and include the reporting date. Calling $35,000 the revised national balance would misstate the portfolio.
Watch the distinction: A screenshot can hide active slicer selections. Include the filter state with the number so a reader knows which accounts the total covers.
Reference: [1]
35. Drilling into a total
An unusual PivotTable subtotal is a starting point for investigation, not a complete explanation. Open its contributing source rows and reconcile their balances to the displayed amount. Then inspect fields that could change the credit interpretation: invoice status, due date, customer key, currency, and possible duplicate records. A dispute may be properly included in total receivables yet require a separate collection workflow; a duplicate export row may overstate both the subtotal and the portfolio. Drill-through output reflects the PivotTable's current source and filters, so confirm its refresh status before treating it as current evidence. Retain the original source identifiers when investigating. If the subtotal changes after cleaning, reconcile the old and new totals rather than accepting the new number solely because it looks plausible.
Worked example: A customer subtotal is $12,000. Drilling in reveals invoices of $5,000, $4,000, and $3,000; their sum is $12,000. The $4,000 invoice is disputed. The numerical subtotal is supported by the three rows, but the ordinary collection queue should identify only the $8,000 from the other two invoices while the dispute is investigated.
Watch the distinction: A subtotal that adds correctly can still mix different work statuses or duplicate records. Validate the contributing rows before drawing a collections conclusion.
Reference: [1]
36. Refreshing a PivotTable
A PivotTable commonly keeps a cached summary until it is refreshed. Adding an invoice to the source table does not guarantee the displayed total changes immediately. First ensure the source range includes the new row; an Excel table usually expands with added records, while a fixed range may not. Refresh the PivotTable, then compare its row count and balance total with the current source. If the totals still disagree, inspect filters, blank value fields, data types, and excluded rows. Record the source file, reporting period, and refresh time when the result will inform a credit decision. Refreshing updates the summary from its configured source; it does not prove that the source extract itself is the latest or that all records imported correctly.
Worked example: A PivotTable shows $50,000. A new $2,000 invoice is added to the source, giving an expected total of $52,000. After confirming the source table includes the row and refreshing, the PivotTable displays $52,000. If it still showed $50,000, the next check would be the source range or active filters, not an assumption that the invoice has no exposure.
Watch the distinction: A familiar-looking PivotTable can be stale. Confirm both source coverage and refresh status, then reconcile the displayed total to the current records.
Reference: [1]
37. PivotCharts for trends
A PivotChart of month-end past-due balances should use a consistent metric, calendar interval, and aging definition. Put reporting dates in chronological order and plot one comparable value per month end. The chart can show the direction and size of a balance change, but a dollar increase alone does not establish worsening collections performance. Compare the past-due amount with total receivables, changes in sales or portfolio size, and any changes to status definitions. A missing month should remain visibly missing rather than be connected as though an observation existed. For interpretation, calculate both the dollar movement and the past-due share when the portfolio base is known. Trace a sharp move back to source invoices before attributing it to customer behaviour.
Worked example: Past-due balances at three month ends are $40,000, $35,000, and $45,000. The final movement is $45,000 minus $35,000 = a $10,000 increase, or about 28.6% of the prior month's $35,000. If total receivables also rose, the past-due share may tell a different story; the chart alone shows only the dollar trend.
Watch the distinction: A rising past-due line does not, by itself, show a higher delinquency rate. Check the portfolio denominator and consistent month-end definitions.
Reference: [1]
38. Comparing two dimensions
A cross-tabulation places one category on rows and another on columns, allowing you to compare both totals and their composition. For credit exposure, region by aging status shows where overdue dollars sit even when a region's overall balance is smaller. Sum the cells across each row for regional exposure and down each column for status exposure. Then compare absolute overdue dollars and, when useful, overdue share within each region; they answer different questions. Keep category definitions mutually exclusive and retain an explicit category for missing or disputed status so those balances do not disappear. Drill into a surprising cell before acting, since one large customer can drive a region's overdue total. The table supports prioritization, while the underlying invoices explain the cause.
Worked example: Region A has $20,000 current and $10,000 overdue, totaling $30,000; its overdue share is $10,000 ÷ $30,000 = 33.3%. Region B has $5,000 current and $15,000 overdue, totaling $20,000; its overdue share is 75%. A is larger overall, but B has $5,000 more overdue exposure and the higher overdue share.
Watch the distinction: Ranking regions only by total balance can hide overdue concentration. Compare the overdue column and each region's overdue share alongside its overall total.
Reference: [1]
39. Ranking with residual totals
A ranked account view should show the largest exposures and preserve the balance of the portfolio as a visible remainder. Sort by a stated measure, such as open balance at one as-of date, and decide how many accounts to display. Calculate the remainder as portfolio total minus the displayed accounts, then verify that the parts add back to the full total. This prevents a top-account chart from making the portfolio appear smaller than it is. Report the combined top share to describe concentration, but remember that exposure size does not alone measure probability of nonpayment or available security. If filters change the portfolio universe, rerank accounts and recompute the remainder and denominator. Use the same currency and date basis across every amount.
Worked example: The two largest account exposures are $30,000 and $20,000 in a $70,000 portfolio. Together they hold $50,000, and $50,000 ÷ $70,000 = 71.4% to one decimal place. The remaining accounts hold $70,000 minus $50,000 = $20,000, or 28.6%. Showing that remainder makes the chart reconcile to $70,000.
Watch the distinction: Displaying only the top accounts without the remainder can suggest they are the whole portfolio. Include the residual and state the total used as the percentage base.
Reference: [1]
40. Template input boundaries
A reusable credit worksheet separates values a user may change from formulas that transform them and outputs that communicate the result. Label input cells with units and a reporting date, such as credit limit and current exposure in Canadian dollars. Calculate excess exposure as the greater of exposure minus limit and zero when the output is meant to show only an overage; retain the signed difference separately if unused capacity is also needed. An `IF` label can then show Over limit when exposure exceeds limit. Keep formulas consistent across accounts and make missing inputs visible rather than treating blanks as reliable zeros. A template supports repeatable analysis, while the Managing Credit with Information Technology II guide covers the later course's broader information-systems topics.
Worked example: Enter a $20,000 limit and $23,000 exposure. Exposure minus limit is $3,000, so the excess output is $3,000 and the label is Over limit. Next month, suppose exposure is entered as $18,000 against the same limit. The excess becomes $0 and the label changes to Within limit; unused capacity is $2,000 if the template reports it separately.
Watch the distinction: Typing a result over a formula makes the next month's output unreliable. Change only the designated inputs and let calculated cells recompute the decision.
Reference: [1]
41. Protecting calculated cells
A reusable credit template should distinguish cells people are expected to edit from cells that calculate results. Enter the credit limit and exposure in designated input cells, then calculate excess exposure with a formula such as `=MAX(0,Exposure-Limit)`. Lock the formula cell, leave input cells unlocked, and enable worksheet protection. Locking a cell alone has no effect until protection is enabled. Use clear labels and formatting so a reviewer can see which values are inputs and which are outputs. Protection reduces accidental edits; it does not establish that an entered limit is authorized or that the exposure is complete. Check a protected template by changing an input, confirming the result recalculates, and attempting to edit a formula. Preserve an approved master copy so an altered worksheet can be compared with the intended calculation.
Worked example: A worksheet contains a $20,000 limit and $23,000 exposure. Its protected formula calculates `MAX(0,23000-20000) = $3,000` and displays an over-limit exception. If someone replaced that formula with $0, the exception would disappear despite unchanged inputs. Test protection by updating exposure to $24,000: the calculated excess should become $4,000 while the formula remains locked.
Watch the distinction: Locking every cell prevents legitimate updates, while leaving formulas editable invites silent changes. Unlock intended inputs first, enable protection, and test both entry and recalculation.
Reference: [1]
42. Reusable structured formulas
An Excel table gives each column a name and expands when new records are added within the table. A total such as `=SUM(Invoices[Balance])` refers to the balance column rather than a fixed cell range. A calculated column can also use a row reference such as `=[@Balance]-[@Payment]`; Excel normally extends that formula to new table rows. This is useful for recurring receivables reports because invoice volume changes between extracts. Verify that new rows actually entered the table, that the balance field is numeric, and that the total does not include a table total row twice. Structured references make formulas easier to read, but they cannot correct duplicate invoices or an omitted source file. Compare the expanded table's row count and balance total with the import before relying on the report.
Worked example: Twenty invoices total $80,000. The formula `=SUM(Invoices[Balance])` returns $80,000. Add a twenty-first invoice for $5,000 inside the table; the total becomes $85,000. A fixed formula ending above the new row could still show $80,000, understating exposure by $5,000. Confirm the table now has 21 invoice rows.
Watch the distinction: A structured formula expands with its table, not with any row placed nearby. Check the table boundary after an import before assuming the new invoice is included.
Reference: [1]
43. Scenario assumptions
A scenario comparison is useful only when its assumptions are visible. Put the eligible receivables amount, advance rate, reporting date, and any exclusions in labelled input cells. Calculate the illustrative borrowing amount as eligible receivables multiplied by the rate. To isolate the effect of one assumption, hold the others constant across scenarios; otherwise a change in output has several possible causes. State whether receivables have already been reduced for ineligible items so the same exclusion is not applied twice. A sensitivity table can show several hypothetical rates, but those rates are teaching inputs, not a lender's terms. Compare both the dollar difference and its cause, then check whether the proposed amount remains within any separately stated facility limit. For related accounting interpretation, see the financial accounting guide.
Worked example: Assume eligible receivables of $100,000 after stated exclusions and no separate facility cap. At a hypothetical 70% advance rate, the calculated amount is `$100,000 × 0.70 = $70,000`. At 60%, it is `$100,000 × 0.60 = $60,000`. The $10,000 decrease comes solely from the ten percentage point rate change.
Watch the distinction: Changing receivables and the rate together obscures the cause of a different result. Hold one input constant, or label the comparison as a combined scenario.
Reference: [1]
44. Built-in reasonableness checks
Reasonableness checks turn a template into a report that can expose inconsistent inputs. For a mutually exclusive, complete aging split, current balance plus overdue balance should equal total receivables. Calculate a reconciliation difference as `Current+Overdue-Total`; a nonzero result calls for investigation. Other useful checks flag negative balances where they are not expected, dates after the reporting date, or a percentage outside its logical range. Each check must reflect the business definition: a disputed invoice may be part of overdue exposure, a separate category, or an overlap, depending on the report. Document that treatment before testing totals. Display the difference and affected records rather than replacing the result with a generic green or red label. A zero difference confirms arithmetic agreement, but offsetting errors can still cancel, so inspect material source exceptions.
Worked example: A report shows $95,000 current and $15,000 overdue against $100,000 total receivables. Assuming those two categories are exhaustive and exclusive, `$95,000 + $15,000 - $100,000 = $10,000`. The positive difference means categories exceed the stated total by $10,000. Trace duplicated or misclassified rows before sharing the report; the figures cannot all be correct under the assumption.
Watch the distinction: A zero reconciliation difference does not prove every invoice is correctly classified. Two equal and opposite errors can cancel, so check row-level exceptions as well.
Reference: [1]
45. Connecting to source extracts
Power Query can connect to a file, folder, workbook, or other available source and record repeatable import steps. Choose the connector according to how the extract is delivered. A single fixed file suits a stable monthly replacement; a folder connection can combine files when each month is stored separately. Retain a source filename or reporting-period field before combining data so later totals can be traced back to an extract. Check the expected column names, data types, row counts, and whether a file contains a snapshot of open invoices or transactions during the month. Appending snapshots without a period label makes the same invoice appear several times and can inflate a supposed current exposure total. The CCP course outline identifies Power Query connection and transformation as part of this course's scope.
Worked example: Two monthly CSV snapshots contain 40 and 45 invoice rows. Add `ReportMonth` from each filename, then append them: `40 + 45 = 85` period-invoice rows before cleaning. A trend report can group by month. A current exposure report must select one snapshot, since an invoice present in both months may otherwise be counted twice.
Watch the distinction: Eighty-five appended rows do not mean 85 distinct invoices or one month's exposure. Preserve the period and decide whether the question asks for history or a current snapshot.
Reference: [1]
46. Transformation step order
Power Query applies transformations in sequence, so an early mistake can affect every later step. Inspect the raw amount format, normalize it using the appropriate locale or separator rule, then convert the field to a numeric type before summing or grouping. Standardize keys before a merge, and establish the reporting period before filtering to a snapshot. Type detection on a small preview can misread a column that later contains exceptions, so inspect conversion errors after applying the type. Avoid removing problematic rows merely to make a total run: that changes exposure while hiding the cause. A useful workflow records the raw value, normalized value, conversion status, and final inclusion decision. The order should allow another analyst to refresh the query and understand why each record entered or left the reported total.
Worked example: A CSV amount arrives as text `1,200`, with a comma used as the thousands separator. Under that stated format, remove the separator or use the matching locale, then convert the result to the number 1200. With another numeric invoice of $800, grouping now yields `$1,200 + $800 = $2,000`. Treating the text as zero would understate exposure by $1,200.
Watch the distinction: A comma does not always mean a thousands separator. Check the export's locale before conversion; otherwise `1,200` could be misread as 1.2 in another format.
Reference: [1]
47. Type conversion failures
A type conversion error is a data-quality signal, especially when the field represents money. After assigning a numeric type, inspect errors and count both successful and failed rows. Record the raw text and invoice key for each failure so the source can be corrected or its meaning established. A value such as `pending` could mean the amount was unavailable, approval was incomplete, or the wrong field was exported; it is not automatically zero. Keep an exception table and report the sum of valid numeric rows as a subtotal with its coverage stated. If an amount is later supplied, refresh the query and reconcile the change. This preserves the distinction between known exposure and unresolved data rather than silently dropping a customer from a credit decision.
Worked example: A 50-row extract has 49 numeric balances totaling $98,000 and one balance shown as `pending`. Numeric conversion succeeds for 49 rows and fails for one. Report $98,000 as the known-balance subtotal covering 49 of 50 records, with one unresolved amount. The complete portfolio total cannot yet be calculated from this extract.
Watch the distinction: Replacing `pending` with zero makes a missing amount look like a confirmed paid balance. Keep the exception visible until its meaning and amount are verified.
Reference: [1]
48. Filtering with an audit trail
Filtering is a business decision embedded in a data step. Before excluding rows, define the report's population, such as active invoices at a stated date, and identify the source field that establishes cancellation. Count and sum excluded rows separately, then reconcile the remaining count and amount to the original extract. Retain the reason for exclusion and enough identifiers to inspect a disputed record. Power Query's recorded steps support repeatability, but the step name alone does not prove that the filter reflects the source system's status meanings. Check for spelling variants, blanks, and cancellations recorded after the reporting date. Where a cancellation reverses a previously reported balance, distinguish the current snapshot from a historical trend so the change is explained rather than treated as a collection.
Worked example: An extract has 60 rows totaling $120,000. Four rows marked cancelled total $7,500. Filtering them leaves `60 - 4 = 56` active rows and `$120,000 - $7,500 = $112,500` of reported exposure, assuming all balances are additive. Record both excluded figures. A reviewer can then trace the $7,500 reduction to the cancellation rule.
Watch the distinction: A lower total after filtering is not automatically improved collections performance. It may reflect excluded records; reconcile their count and value before interpreting the change.
Reference: [1]
49. Splitting compound fields
A compound field can be split when its components follow a dependable structure. First define the delimiter and the expected number of pieces, then split into separately named columns. Treat account components as text so leading zeros survive. Before using either new column in a lookup, test for missing delimiters, extra delimiters, blank pieces, and unexpected lengths. Keep the original field for tracing; a split result is a derived value, not a replacement for evidence of what the source supplied. If the format varies by branch or source system, add an explicit parsing rule for each known pattern rather than forcing every value through one rule. A failed parse should be flagged for review because an incorrect branch or account key can attach an invoice to the wrong customer.
Worked example: Suppose the documented format is `branch-account`, with one hyphen. `AB-0042` splits into branch `AB` and account `0042`; the account remains text. A second value, `AB0042`, has no delimiter and is marked `Parse review`. Assigning its first two characters to a branch without confirming the source format could create a false match.
Watch the distinction: Converting the account component to a number turns `0042` into `42`. That can break an exact join to a customer table storing the intended text key.
Reference: [1]
50. Merging related tables
A merge combines columns from related tables through matching keys. For invoice reporting, a left outer join starts with every invoice and adds customer attributes where a match exists. This preserves unmatched invoices for investigation; an inner join removes them from the result. Before merging, normalize key types and spaces, verify that the customer lookup has one intended row per key, and decide how blanks should be handled. After the merge, compare invoice row counts and balance totals with the pre-merge extract. An increased row count can indicate duplicate lookup keys, while a reduced count can indicate an unintended join or filter. Missing customer attributes should be visible as exceptions. They do not make the invoice balance disappear from exposure. If account rules differ across systems, build and verify the appropriate composite key.
Worked example: A 100-invoice table contains 98 invoices whose account keys match a customer table and two that do not. A left join retains all 100 invoice rows, with missing customer fields on two. An inner join retains only 98. If the unmatched balances are $2,000 and $3,000, the inner-join total omits $5,000 of known invoice exposure.
Watch the distinction: An inner join can make a dashboard look clean while hiding unmatched invoices. Use a left join when every invoice is required, then investigate missing attributes.
Reference: [1]
51. Appending periodic data
Appending stacks rows from periodic files; it does not match records by account. Before appending, align field names, types, currency, and the meaning of each row. Power Query matches columns by name, so differently named balance fields can produce two partly blank columns rather than one usable amount field. Add a period and source-file identifier to every row. Then reconcile each file's row count and balance total with the corresponding section of the appended result. Consider whether each file is a transaction list or a month-end snapshot: summing two snapshots answers a different question from comparing their month-end totals. If February corrects a January invoice, establish whether that correction belongs in January history or February activity before interpreting the combined data.
Worked example: January has 30 rows and February has 35, so a complete append should contain `30 + 35 = 65` period rows. If February uses `AmountDue` while January uses `Balance`, rename or map those fields before summing. With monthly totals of $60,000 and $70,000, report them by month; $130,000 is the sum of two snapshots, not current exposure.
Watch the distinction: Append operations align column names, not similar meanings. A changed header can create blanks and an understated total even when the combined row count is correct.
Reference: [1]
52. Grouping transactions
Grouping changes the grain of a table. Invoice-level rows can be grouped by customer to calculate customer exposure, but detail such as due dates and disputes then needs separate treatment. Choose the grouping key carefully: customer alone gives a portfolio-wide total, while customer plus reporting period gives a time series. Calculate a sum of open balances and a count of invoice IDs as distinct outputs. If the source includes duplicate exports or both invoices and credit notes, define how each affects the net balance before grouping. Keep a path back to invoice detail so a large customer total can be explained. A grouped table is useful for limit monitoring, yet the resulting count of groups is a customer count only if the customer key identifies unique customers consistently.
Worked example: Customer A has three open invoices of $2,000, $3,000, and $5,000. Grouping by customer gives `$2,000 + $3,000 + $5,000 = $10,000` exposure and an invoice count of 3. If A's credit limit is $9,000, the grouped exposure exceeds it by $1,000. The three source invoices remain available to inspect.
Watch the distinction: Counting grouped rows as invoices confuses grains. One customer row may represent several invoices; retain an invoice-count measure when volume matters.
Reference: [1]
53. Repeatable refresh
A refresh reruns saved query steps against the source currently addressed by the connection. Before using its result, confirm the source location, file identity, reporting period, column structure, and refresh completion. Compare pre-refresh and post-refresh row counts and balance totals, then account for additions, removals, and modified records. A higher total could reflect new invoices, revised balances, a duplicate file, or a changed folder path. For snapshots, use stable invoice identifiers and period labels to distinguish genuine movement from reimported history. Log the refresh date and source period separately: refreshing today does not make a last-month extract current. Where a step fails, inspect the error before publishing an old cached result. The aim is a repeatable report whose changes can be traced to changed data or an intentional transformation.
Worked example: Yesterday's source totaled $100,000; today's refresh shows $112,000, a `$112,000 - $100,000 = $12,000` rise. Suppose two new invoices total $9,000 and an existing balance increases by $3,000. Those changes reconcile the difference. If the row comparison does not show them, inspect the source path and appended files before calling it portfolio growth.
Watch the distinction: A successful refresh command confirms that steps ran, not that the intended period was loaded. Verify the source and reconcile the change before distributing the result.
Reference: [1]
54. Facts and dimensions
In an introductory Power BI model, a fact table holds repeated business events or balances at a defined grain, while a dimension holds descriptive attributes used to group and filter them. An invoice fact table might contain invoice ID, account key, reporting date, and balance. A customer dimension might contain one row per account with region and customer name. Relate the fact's account key to the dimension's unique account key so a region selection filters associated invoice balances. State whether the fact represents transactions or month-end snapshots; summing snapshots across dates can overstate exposure. Keep customer attributes in the dimension when they describe the customer consistently, but investigate changes such as a region transfer over time. The CCP technology course introduces Power BI visualization and dashboards within this subject.
Worked example: Assume 200 invoice rows belong to 40 unique accounts. The fact table contains 200 balances; the customer dimension contains 40 account-to-region records. If 30 invoices linked to Alberta total $45,000, a region filter returns $45,000 by summing those fact balances. It does not sum customer rows, which carry descriptive attributes rather than independent invoice exposure.
Watch the distinction: Putting a customer's limit or region on every invoice does not make each copy a separate customer. Confirm the fact grain before summing a repeated field.
Reference: [1]
55. Relationship cardinality
A typical customer-to-invoice relationship is one-to-many: one unique customer key in the dimension can match many invoice rows in the fact table. Check uniqueness on the dimension side before creating the relationship. Duplicate customer keys may represent accidental repeated exports, differing versions of an attribute, or distinct entities sharing a weak identifier. The remedy depends on the cause: remove a verified duplicate, select the correct effective record, or create a stronger business key. Do not arbitrarily keep the first row. Check unmatched invoice keys as well, since those balances may not appear under the expected region or customer label. After fixing cardinality, compare total invoice exposure with the source and test a few known customer subtotals. Relationship direction and filters affect displayed results, so confirm that a customer selection reaches the intended invoices.
Worked example: The customer table has two rows for account C10, one marked Ontario and one Alberta, while a single C10 invoice has a $5,000 balance. The region is ambiguous. Verify which customer record applies at the invoice date, leave one valid lookup record for that relationship, and confirm C10 contributes $5,000 once to the appropriate region.
Watch the distinction: Deleting either duplicate C10 row without checking effective dates may assign the invoice to the wrong region. Resolve the business identity before changing the model.
Reference: [1]
56. Measures and row calculations
A calculated column produces a value for each row, such as a days-past-due label derived from an invoice date and a stated as-of date. A measure computes a result within the current selection, such as `SUM(Invoices[Balance])`. Measures respond to report filters and are suited to totals, averages, and ratios whose denominator must change with the viewed population. A row calculation is useful when each invoice needs a reusable classification, though its value must be refreshed or recomputed if its underlying as-of date changes. Avoid summing a repeated customer-level value stored on invoice rows. For a past-due share, define both numerator and denominator as measures over the intended filter context. Test the result with no selection and with a known invoice or customer selected to ensure the model answers the intended question.
Worked example: Two invoices have balances of $2,000 and $3,000; only the second has a row-level overdue flag. A total-balance measure gives `$2,000 + $3,000 = $5,000` with both visible. Selecting the overdue invoice changes that measure to $3,000. The flag remains a property of each invoice, while the measure changes with the selection.
Watch the distinction: A measure is not stored once for every invoice. Treating its displayed total as a row attribute can lead to repeated values and overstated sums.
Reference: [1]
57. Filter context
Filter context is the set of rows a Power BI measure can see when it is evaluated. Slicers, page filters, visual selections, and relationships can all narrow that set. A balance measure that sums invoice amounts therefore returns different results for the whole portfolio, one province, or one reporting period without changing its formula. When a percentage looks surprising, inspect both its numerator and denominator under the same selection. A region's share of the selected portfolio differs from its share of the national portfolio. Check whether a filter reaches the invoice table through an active relationship, and whether other page filters remain applied. A card's label should identify the population and date it represents, especially when screenshots are exported without visible slicers. The credit management guide provides related portfolio context.
Worked example: Assume a current portfolio of $120,000, including $45,000 in Alberta. `SUM(Balance)` shows $120,000 with no region filter and $45,000 after Alberta is selected. Alberta's national share is `$45,000 / $120,000 = 37.5%`. If another filter changes the denominator, that displayed share must be interpreted against the newly selected population.
Watch the distinction: A changed card value after selecting Alberta is usually expected filter behavior. Check the active selections and relationship before treating it as a broken formula.
Reference: [1]
58. Choosing a visual
Choose a visual from the question and the shape of the data. A line chart preserves time order and helps show movement across equally defined reporting dates. A bar chart compares separate categories, such as provinces, and makes ranking easier. Use a common currency unit and consistent period definition so viewers do not compare monthly activity with month-end exposure. Start a bar chart's value axis at zero when bar length conveys magnitude; a truncated axis can exaggerate a small difference. Label missing months explicitly rather than connecting points as though observations existed. Avoid a pie chart when many regions or close values make shares hard to compare. For a past-due trend, show the portfolio base or a past-due percentage alongside the dollar series when growth in total receivables could explain the movement.
Worked example: Month-end past-due balances are $20,000, $24,000, and $18,000. A line chart shows a $4,000 rise, then a $6,000 fall, for a net $2,000 decrease from the first month. Separate regional balances of $30,000 and $15,000 belong on bars; the first region has twice the second's exposure.
Watch the distinction: A chart can display correct numbers yet invite a false conclusion if periods or units differ. Confirm the measure, axis, and date definition before interpreting its shape.
Reference: [1]
59. Dashboard interaction checks
Dashboard visuals may cross-filter, cross-highlight, or ignore one another. Test each important selection against a known source subtotal so users do not read incompatible populations as one story. First record the unfiltered balance and invoice count. Select a category, then check whether every card and chart should respond. A visual that stays unchanged may have its interaction disabled, use a disconnected table, or rely on a relationship that does not transmit the filter. Cross-highlighting can also leave the full total visible while emphasizing only the selected part, so read the display carefully. Label deliberately fixed totals as reference figures. Where interactions are intended, set them explicitly and repeat the check after model changes. A dashboard is ready for credit review when its figures refer to clear, compatible populations.
Worked example: Before selection, a dashboard shows $100,000 across 80 invoices. Selecting `Overdue` changes the balance card to $25,000 but leaves the invoice-count card at 80. If source detail shows 20 overdue invoices, the cards currently describe different populations. Enable the intended interaction or label 80 as an all-invoice reference; then verify the overdue view shows $25,000 and 20 invoices.
Watch the distinction: Matching colours do not mean two visuals share the same filter. Test their figures against source records after each important selection.
Reference: [1]
60. Sharing and data access
A credit dashboard can expose customer balances, limits, disputes, and other sensitive commercial information. Define who needs which rows and level of detail before sharing. A regional manager may need only their region's customer records, while a national analyst may need a broader view. Configure the available access controls, then test them using an account with the recipient's permissions; a slicer alone is a viewing aid and does not enforce access. Check whether exports, drill-through pages, underlying datasets, and shared links reveal more than the visible landing page. Confirm the dataset's reporting period and last successful refresh so recipients know how current the figures are. Keep row counts and totals for each authorized view as test cases. The course practice questions can reinforce the distinction between a displayed filter and controlled access.
Worked example: A national dataset contains 50 accounts totaling $180,000. The authorized regional view should contain 12 accounts totaling $40,000. Sign in with a regional test account and confirm both figures, then try detail and export paths. If any path exposes all 50 accounts or $180,000, correct the access configuration before sharing.
Watch the distinction: Selecting a region in a slicer does not prevent a recipient from changing it. Test actual recipient permissions, including detail and export access.
Reference: [1]