Skip to content
Report · Financials

Expenses by department by month

Operating expenses posted to each department, month by month, for the last two years.

  • monthly
  • departments
  • cost control
Sample preview, fictional dataYour own figures appear after import.

01

About this report

Postings to Expense accounts from the general ledger, primary accounting book, grouped by the department on each line and the month of the posting period. It covers the last 24 months in base currency, with debits positive. Cost of sales and other expense accounts are not included. Lines with no department are grouped as (no department).

Group by Quarter to compare with budgets, or filter on Department to follow one cost centre.

02

Sample preview

Fictional figures in the shape you will see. Yours come from your account.

MonthDepartmentExpense
2026-09Engineering118,400
2026-09Sales and Marketing76,210.50
2026-09Administration51,300
2026-09(no department)2,140
2026-08Engineering121,950

03

The SuiteQL

This is the query each report runs. Read it, copy it, or change it after import.

Expenses by department by month
SELECT TO_CHAR(p.startdate, 'YYYY-MM') AS period,
       NVL(BUILTIN.DF(tl.department), '(no department)') AS department,
       SUM(tal.amount) AS expense
  FROM transactionaccountingline tal
  JOIN accountingbook ab ON ab.id = tal.accountingbook AND ab.isprimary = 'T'
  JOIN transaction t ON t.id = tal.transaction
  JOIN account a ON a.id = tal.account
  JOIN accountingperiod p ON p.id = t.postingperiod
  JOIN transactionline tl ON tl.transaction = tal.transaction AND tl.id = tal.transactionline
 WHERE tal.posting = 'T'
   AND a.accttype = 'Expense'
   AND p.startdate >= ADD_MONTHS(TRUNC(SYSDATE, 'MM'), -23)
   AND p.startdate <= SYSDATE
 GROUP BY TO_CHAR(p.startdate, 'YYYY-MM'), NVL(BUILTIN.DF(tl.department), '(no department)')
 ORDER BY period DESC, expense DESC

ReportFinancials

Expenses by department by month

Screenshot of the Expenses by department by month report in HiScale Advanced Reports, filled with fictional sample data
Sample preview, fictional dataOpen image full size (opens in a new tab)