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')]
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.
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.
Turning off the Grand Total toggle on the report typically allows the report to be edited normally again.
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.
005131017

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.