# How do custom report types with multi-object relationships enhance sales pipeline reporting depth?

**Topic:** Sales Cloud · **Difficulty:** Medium · **Tags:** Sales Cloud, Custom Report Types, Reporting Depth

Read it on the site: https://www.forcechallenges.com/interview-questions/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:**
1. Setup > Report Types > New Custom Report Type.
2. Choose the primary object (A) and category.
3. 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".
4. Optionally add fields via lookup from related objects.
5. Set the layout of available fields and set Deployment Status to Deployed so users see it.
6. 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":
1. Primary object: Accounts.
2. Child 1: Opportunities (each account must have opportunities).
3. Child 2: Opportunity Products (with or without).
4. Add Product fields via lookup (Product > Product Family, Product Code).
5. Deploy and add to a folder; build the report.

Equivalent SOQL for intuition:
```sql
SELECT Account.Name, Opportunity.Name,
       (SELECT Product2.Name, TotalPrice FROM OpportunityLineItems)
FROM Opportunity
```

**Hidden gotchas & must-remember points:**
- A maximum of four objects can be in one report type (A to B to C to D).
- Changing the primary object after reports exist is not possible; you must recreate.
- Deleting a report type deletes the reports built on it.
- "In Development" report types are visible only to admins until deployed.
- Reports on archived or restricted objects obey their sharing.
- Fields added via lookup are limited in depth (about four levels); verify.

**Best practice:** Define CRTs around the business questions and keep the field layouts tidy with clear labels.

---
Source: ForceChallenges · last updated 2026-11-02
