Loading

Error when trying to edit a Joint Report with Summary Formula

Udgivelsesdato: Sep 8, 2026
Beskrivelse

We are getting the following error when editing a Joint Report in Lightning Experience:

This page has an error. You might just need to refresh it. [Cannot read properties of undefined (reading 'length')]

Screenshot of the error message displayed when editing a Joined Report with a Summary Formula in Salesforce Lightning Experience: 'This page has an error. You might just need to refresh it. [Cannot read properties of undefined (reading length)]'"  

Løsning

This article explains how to resolve the error that appears when editing a Joined Report that contains a Custom Summary Formula in Lightning Experience, and offers two workarounds.

Why This Error Occurs

When editing a Joined Report that includes a Custom Summary Formula, Lightning Experience can throw an error stating the page has an error and may need a refresh, with a JavaScript error referencing "Cannot read properties of undefined (reading 'length')". This is caused by an issue in how the report builder processes the Grand Total alongside the Summary Formula in Joined Report mode.

Workaround 1: Disable Grand Total

Turning off the Grand Total toggle on the report typically allows the report to be edited normally again.

Workaround 2: Recreate the Report

If disabling Grand Total does not resolve the error, recreate the report from scratch as a new Joined Report with the same blocks, columns, and Summary Formula.

Vidensartikelnummer

005131017

 
Indlæser
Salesforce Help | Article