Pivot Table Issues

How to Fix Lost PivotTable Drill-Through for an SSAS OLAP Cube in Excel

Tauseeq MagsiTauseeq Magsi Nov 11, 2026 869 views

Question details

The user is experiencing a loss of drill-through functionality in an Excel PivotTable connected to an SSAS OLAP Cube.

How to Fix Lost PivotTable Drill-Through for an SSAS OLAP Cube
Product
Microsoft Excel
Device & OS
not provided
Scenario
Attempting to use the drill-through (Show Details) feature on a PivotTable connected to an SSAS measure.
Observed behavior
An error occurs or the drill-through fails because Excel's DRILLTHROUGH request conflicts with the measure's DetailRows expression or cube metadata changes.
Before you start

Ensure you have the appropriate permissions to access and modify the SSAS cube metadata, and check that your SQL Server Management Studio (SSMS) is up to date.

Solution 1Recommended

Modify the DetailRows Expression and Rebuild Cache

Fix conflicts between Excel's DRILLTHROUGH request and the SSAS measure by adjusting the DetailRows expression and refreshing the PivotTable cache.

The drill-through issue typically results from a mismatch between the DRILLTHROUGH statement generated by Excel and the DetailRows expression defined in the SQL Server Analysis Services (SSAS) model.

1
Test in SQL Server Management Studio

Open SQL Server Management Studio (SSMS) and test the specific measure to verify its drill-through behavior outside of the Excel environment.

2
Review the DetailRows Expression

Inspect the DetailRows expression defined for the SSAS measure. Ensure it does not conflict with standard DRILLTHROUGH requests sent by Excel.

3
Update Cube Metadata

Make necessary adjustments to the expression or metadata in your SSAS project and deploy the changes to the cube.

4
Clear PivotTable Cache in Excel

Open your Excel workbook, navigate to PivotTable Analyze > Options > Data tab, set 'Number of items to retain per field' to 'None', and click 'Refresh' to clear the old cache.

Modify the DetailRows Expression and Rebuild Cache
Check Compatibility: Ensure your version of Excel is fully compatible with the deployed version of SQL Server Analysis Services to prevent metadata conflicts.
Free Microsoft Office alternative

Try WPS Office for Your Daily Spreadsheet Needs

While advanced SSAS OLAP Cube management requires Microsoft's specific SQL and Excel environment, WPS Office is an excellent, lightweight alternative for standard data analysis, PivotTables, and daily spreadsheet tasks without the high subscription costs.

  1. 1. Download and Install WPS Office: Visit the official WPS website to download the free suite and follow the installation prompts.
  2. 2. Open WPS Spreadsheet: Launch WPS Office and open the Spreadsheet application to access familiar data analysis tools.
  3. 3. Import Excel Files: Open your existing .xlsx files directly in WPS to create standard PivotTables and analyze your data seamlessly.
High compatibility with Microsoft Excel (.xlsx, .xls) and CSV formats.Free and lightweight, consuming fewer system resources.Familiar user interface for seamless migration from MS Office.Built-in tools for standard PivotTables, charts, and complex data analysis.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the 'Show Details' option gray out in my PivotTable?

The 'Show Details' (drill-through) option may be grayed out if the PivotTable is connected to an OLAP cube where the measure does not support drill-through, or if the PivotTable cache has become corrupted and needs to be refreshed.

What is a DetailRows expression in SSAS?

A DetailRows expression is a DAX property in tabular models that defines the specific columns and rows to be returned when a user attempts to drill through to the underlying detailed data behind an aggregated measure.

How do I refresh an OLAP cube connection in Excel?

Navigate to the 'Data' tab on the Excel ribbon, click 'Queries & Connections', find your SSAS cube connection in the pane, right-click it, and select 'Refresh'.