Account Analysis for Contra Account Report
Prints balances by account segment and a secondary segment, listing the contra account for each journal entry and the subledger document number for imported transactions, filtered by date, flexfield, contra account, and amount range.
Run note · BIP run High-volume GL extracts can exceed BI Publisher's online output limit and time out. Run it as a scheduled process (ESS) with output bursted to file or email rather than online preview, and bound it by ledger and period.
Sample build of the Account Analysis for Contra Account Report — reconciled, and rendered tool-neutral so it runs in Power BI, ThoughtSpot, or Tableau.
| Account | Contra Account | Journal | Document | Debit | Credit |
|---|---|---|---|---|---|
| 1000-2100-000 | 1000-2100-000 | Sample | Sample | $1,240,500.00 | $1,240,500.00 |
| 1000-5400-000 | 1000-5400-000 | — | — | $842,150.75 | $842,150.75 |
| 1000-1410-000 | 1000-1410-000 | Sample | Sample | $96,400.00 | $96,400.00 |
| 2000-2100-000 | 2000-2100-000 | — | — | $1,005,233.10 | $1,005,233.10 |
| 1000-6300-000 | 1000-6300-000 | Sample | Sample | $58,720.40 | $58,720.40 |
| 1000-2100-000 | 1000-2100-000 | Sample | Sample | $1,240,500.00 | $1,240,500.00 |
The report pairs each journal line with its contra account.
380 lines have no resolvable contra account — multi-line journals where the offset can't be paired one-to-one.
Contra pairing is only clean on two-line journals; the build derives a contra dimension that holds on complex journals too.
This is the report's BI Publisher data model — the SQL data set BI Publisher runs against Oracle tables to produce the output. The same SQL becomes a dbt model in your warehouse, so one definition drives both the formatted report and the analytics layer.
Data sources
- GL_JE_LINES
- GL_CODE_COMBINATIONS
- GL_BALANCES
The data-warehouse model — one fact surrounded by conformed dimensions (what you slice by) and measures (what you aggregate), expressed as dbt so it migrates with you. Grain: one row per source transaction.
| Element | Type | Definition |
|---|---|---|
| GL_CODE_COMBINATIONS | dimension | dimension |
| GL_BALANCES | dimension | dimension |
| Debit | measure | measure |
| Credit | measure | measure |
Every source object behind this report. Each linked table has its own page with full column descriptions, drawn from the Oracle BICC lineage and articulated for practitioners.
| Table | Reporting columns | Subject areas |
|---|---|---|
| GL_JE_LINES | 26 | 2 |
| GL_CODE_COMBINATIONS | 7 | 61 |
| GL_BALANCES | Setup / configuration table — joined for reference, not exposed for analytics | |
Customization note Contra-account pairing is rarely configured cleanly out of the box; the common build adds a derived contra dimension and exposes it as a reusable subject area. Irvine rebuilds these on your data.