Currency and fiscal periods
Quick answer — use period-end positions and period-specific rates
A closing balance is nonadditive across time: take the balance at the selected final close, not the sum of all month-end values. Convert currencies using the documented rate type, direction and period before aggregation. The lab uses illustrative rates and a July–June fiscal calendar, not a statutory translation policy.
Define date, rate and cash-flow contracts
DimMonth includes only complete month-end periods and a fiscal ending-year label; June 2026 is FY2026 period 12, July is FY2027 period 1. Use a separate continuous daily date table if daily time intelligence is needed. In this month-grain example, use the last visible month and verify the snapshot exists, not last nonblank from an earlier month.
Closing Cash =VAR CloseDate = MAX(DimMonth[MonthEnd])RETURN CALCULATE(SUM(TB[SignedUSD]), REMOVEFILTERS(Accounts), Accounts[Account] = "100", REMOVEFILTERS(DimMonth), DimMonth[MonthEnd] = CloseDate)Account is imported as text. The measure assumes complete snapshots already validated; missing rows must block report release. CLOSINGBALANCEMONTH evaluates at month-end with a suitable date table; it does not guarantee that the source contains a complete balance. LASTNONBLANK may select an earlier date, which violates this strict close policy. The snippets are not executed here.
Worked example 1 — balance and cash bridge
July cash 130, August cash 160. Both-month closing cash is 160, not 290. Operating working capital excludes cash: AR + inventory - AP = 40 + 30 - 20 = 50 in July; 50 + 25 - 15 = 60 in August. The August change is +10, using cash. Under the fixture assumptions of no noncash expenses, financing, investing or other cash movements, August operating cash bridge = profit 40 - AR increase 10 + inventory decrease 5 - AP decrease 5 = 30. July bridge = 80 - 40 - 30 + 20 = 30. Cash rises from 100 opening to 160. Real cash-flow classification, noncash adjustments and investing/financing require additional facts and policy.
Worked example 2 — rate direction and grain
Separate EUR teaching sample: July flow 100 EUR at 1.10 USD/EUR = 110 USD; August 150 at 1.20 = 180 USD. Total 290 USD. Multiplying total EUR 250 by August rate 1.20 gives 300 USD and is wrong for this policy. August closing EUR balance 200 at closing rate 1.25 = 250 USD; July closing 180 at 1.15 = 207 USD. Do not sum the two closing positions. Join on MonthEnd, Currency and RateKind; require exactly one positive rate per key, use Decimal or fixed decimal policy, and round only at documented precision. No missing rate is silently replaced by 1. The EUR exercise is not part of the USD trial balance and has no consolidation adjustment.
Lineage, policy and release checks
Document source snapshot, period, entity, account mapping, rate version, currency pair, direction, rate type, precision and approval. Transaction-date, average, closing and historical rates may be required for different accounts; translation differences and retained earnings depend on the governing policy. Do not assert that all accounting standards prescribe the lab rates. Trace cash to TB, profit to Actual, variance to Approved Budget and FX result to the matched rate table. Use a completeness flag and explicit missing-data warning; a true zero is not a missing value. Reconcile to the source close before distribution.
Practice and references
Calculate the August working capital change and cash bridge. Convert both monthly EUR flows at their rates, then explain the 10 USD error when using one rate for both. Test a missing rate and an absent balance key in disposable copies. Read currency translation overview, translation methods, financial reporting FAQ, CLOSINGBALANCEMONTH and LASTNONBLANK. These are implementation references, not accounting standards. Next: capacity, licensing and FinOps.