Apps Script Error: This Report is Over 50MB of Compressed Data

Apps Script Error: This Report is Over 50MB of Compressed Data

Error

You may receive the following error message in your Data Studio or Google Sheets report:

"Apps Script error: This report is over 50MB of compressed data. Please reduce the date range and/or fields in this report."

Cause

Power My Analytics' Data Studio and spreadsheets data connectors use the Google Apps Script platform. This error occurs when your report's data exceeds Apps Script's 50MB compressed data limit.

This can be caused by:
  1. Using an extensive date range in your report
  2. Using a large number of fields in your report

Solutions

Follow these steps to resolve the error:
  1. Reduce the date range. Narrow the time period covered in your report, or use smaller increments (such as monthly instead of yearly).
  2. Use fewer fields. Removed unneeded or unused fields from your report, and focus only on essential metrics and dimensions.
After making adjustments, reload your report. If the error persists, further reduce the date range or field count.

Best Practices

To optimize your reporting and avoid this error in the future:
  1. Plan your reports with data limits in mind
  2. Use date range controls in Data Studio or date range settings in the spreadsheets add-on for dynamic date selection
  3. Regularly review and clean up unused fields in your data sources

    • Related Articles

    • Transfer Ownership of a Data Studio Report

      When you create a report in Data Studio, your account becomes the owner of that report. If you want to transfer ownership over a report to another user, follow these instructions. Begin in your Data Studio report. In the upper right corner, click on ...
    • Data Studio Summary Row Errors When Using Filters

      Issue When a Data Studio query includes both a filter and a summary row, the summary row displays incorrect data or no data. Instead of showing totals, it may report the first result from the data source for each column. Cause This error occurs ...
    • Looker Studio Demo Template Guide

      When connecting to Looker Studio, there are a few best practices to keep in mind. From demo templates to customizations to troubleshooting, this guide will teach you some pro tips for using Power My Analytics data connectors. Use a Demo Power My ...
    • How to Connect a Google Sheets Report to Looker Studio

      In this article, we'll show you how to use Google Sheets as a data source for Looker Studio. Learn all about connecting your spreadsheet, choosing field types, and integrating your data into Looker Studio charts for visually engaging presentations. ...
    • Export a Data Studio Report to PDF

      This article will show you how to export your Data Studio report to a downloadable PDF format. To export your Data Studio report to a PDF, open your report. Click the down arrow on the Share button. Then click Download report. Select the pages you ...