Fix the MSOLAP$LocalCube Error When Creating Excel PivotTables
Question details
The user needs to investigate repeated MSOLAP$LocalCube Event ID 25 messages that appear while creating PivotTables from Excel tables.

- Product
- Microsoft Excel for Microsoft 365
- Device & OS
- Windows
- Scenario
- The user creates a PivotTable directly from an Excel table and wants to determine whether the local OLAP event affects the PivotTable or can be avoided.
- Observed behavior
- Windows records repeated MSOLAP$LocalCube Event ID 25 messages. The PivotTable may still be created successfully, while loading the data through Power Query does not produce the same messages.
Confirm whether the PivotTable works normally despite the Event ID 25 entry, and note whether the message appears only when the source is a table selected directly in Excel. Check the Microsoft 365 version and Windows Update status before repairing Office.
Update Microsoft 365 and repair the local Office installation
Use this method when the error occurs during direct PivotTable insertion and Microsoft 365 or its local OLAP components may be outdated or damaged.
The MSOLAP$LocalCube message can indicate a problem with the local OLAP component or its event registration even when Excel finishes creating the PivotTable. Updating Windows and Microsoft 365, followed by an Office repair, can refresh the affected components.
Open Windows Settings, select Windows Update, choose Check for updates, and install all available updates. Restart Windows when prompted.
Open Excel and select File > Account. Under Office Updates, choose Update Options > Update Now, then restart Excel after the update completes.
Open Control Panel > Programs > Programs and Features, select Microsoft 365, click Change, choose Online Repair, and follow the repair wizard.
Open the workbook in Excel, select a cell in the source table, choose Insert > PivotTable, create the PivotTable, and then check Event Viewer under Windows Logs > Application for a new MSOLAP$LocalCube Event ID 25 entry.
Load the table with Power Query before creating the PivotTable
Use this workaround when direct PivotTable insertion triggers the message but a Power Query-loaded source creates a functional PivotTable without the error.
Use WPS Office to Create Compatible PivotTable Reports Without Microsoft 365 OLAP Components
The MSOLAP$LocalCube event is generated by Microsoft Excel and its local OLAP components, so WPS Office cannot repair that Microsoft 365 installation. As a free, lightweight alternative, WPS Office provides a familiar spreadsheet interface for creating and analyzing compatible workbook files while making migration from Excel straightforward.
- 1. Install WPS Office: Download and install WPS Office, then open the application from the Start menu.
- 2. Open the Excel workbook: In WPS Spreadsheet, select Menu > Open and choose the XLSX or XLS workbook containing the source table.
- 3. Create a data summary: Select the source range and use the Insert or Data tools to create a PivotTable or summary report, then arrange fields and verify the results.

Frequently Asked Questions
What does the MSOLAP$LocalCube Event ID 25 message mean?
It generally points to an issue with the local OLAP component or its event registration in Microsoft 365. Excel may still create and operate the PivotTable successfully, so test refreshes and calculations before treating the message as a workbook failure.
Can updating Microsoft 365 stop the MSOLAP$LocalCube error?
It may. In Excel, go to File > Account > Update Options > Update Now. Also install available updates from Windows Settings > Windows Update, restart the computer, and test direct PivotTable creation again.
How do I repair Microsoft 365 for this PivotTable problem?
Open Control Panel > Programs > Programs and Features, select Microsoft 365, click Change, choose Online Repair, and complete the repair wizard. Reopen Excel and recreate the PivotTable after the repair.
Is the error limited to PivotTables created directly from Excel tables?
It can be. Compare Insert > PivotTable using the Excel table directly with a source loaded through Data > From Table/Range and Power Query. If only the direct method records Event ID 25, use the Power Query workflow as a workaround.
Will loading the data through Power Query remove the event message?
It may avoid the message because the data follows a different loading path. In Excel, use Data > From Table/Range, select Home > Close & Load To, then create the PivotTable from the loaded connection or Data Model and verify that it refreshes correctly.




