How do custom report types with multi-object relationships enhance sales pipeline reporting depth?
Answer
Basics: Standard report types cover common joins. A custom report type (CRT) lets admins create new ones, choose "with" (inner join) or "with or without" (outer join) at each level, and expose fields from lookups.
How it works:
- Setup > Report Types > New Custom Report Type.
- Choose the primary object (A) and category.
- Add child objects (B, C, D) with relationship type: "B records must have related A" is the "with" case, or "A records may or may not have B".
- Optionally add fields via lookup from related objects.
- Set the layout of available fields and set Deployment Status to Deployed so users see it.
- Users create reports in Report Builder with the new type, add filters, groupings, summaries and charts.
Advanced / deep dive: The choice between inner and outer join changes the question: "Accounts with Opportunities" excludes accounts without opportunities, while "with or without" includes them (useful for whitespace analysis). Once a child is "with or without", later children in the chain follow that pattern (verify rules for your chain). Options for more complexity: Joined Reports (up to five blocks), cross filters (with/without a related object), bucket fields and row-level formulas, or a Reporting Snapshot or CRM Analytics dataset for data the reporting engine cannot join. Reports respect sharing and FLS, and a report cannot show more than a limited number of rows in the UI (verify current limits, export for more).
Code / config example: Setup steps for "Accounts with Opportunities with Products":
- Primary object: Accounts.
- Child 1: Opportunities (each account must have opportunities).
- Child 2: Opportunity Products (with or without).
- Add Product fields via lookup (Product > Product Family, Product Code).