Finance Path · Mission 5 of 25Starter

March 2025 expense total

Date filtering on a TEXT date column

Back to Finance

The Brief

Mei LinFP&A Managerfpna

March close — give me total OpEx spend for March 2025 across all cost centers. Join `dim_accounts`, filter to OpEx accounts, posted entries only. Single number, column `total_march_opex`.

You'll practice

SUMJOINDate range

Tables available

fact_transactionsdim_accounts

Hints (3)

Each hint you reveal reduces the XP you can earn. Try the query first.

Hint 1

Filter `dim_accounts` to `account_type = 'OpEx'` (casing matters — lowercase works for OpEx specifically).

Hint 2

Filter the year and month: `EXTRACT(YEAR FROM txn_date::date) = 2025 AND EXTRACT(MONTH FROM txn_date::date) = 3`.

Hint 3

SUM(amount) with posted = 1 → single row, single column named `total_march_opex`.