Fix Power BI PivotTable Labels Showing as Text in Excel
Question details
The user needs to display Power BI PivotTable labels (such as Year, Quarter, and Month) as actual numbers instead of text to enable numeric formula comparisons.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Using SUMIFS or other numeric calculation formulas on an Excel PivotTable connected to a Power BI dataset.
- Observed behavior
- Labels from the dataset are displayed as text or cube members rather than numbers, causing formulas that rely on numeric comparisons to return zero.
Navigate to Data > Queries & Connections in your Excel workbook to verify exactly how your data is connected to Power BI, as this determines which formula workarounds are applicable.
Update Excel and Use CUBE Formulas
Updating your software to the latest version and replacing standard reference formulas with CUBE functions resolves the cube member formatting issue.
Because a PivotTable connected to a Power BI dataset is treated as an OLAP cube, standard formulas like SUMIFS cannot process the dimensional labels numerically.
Excel version 2301 introduced better date handling for Power BI datasets, so updating is highly recommended before applying new formulas.
Open Excel, go to File > Account, click on Update Options, and select 'Update Now' to ensure you are running version 2301 or newer.
Instead of using SUMIFS, write a CUBESET formula to define the specific set of members from your Power BI dataset connection.
Use the CUBEVALUE function to aggregate and retrieve the numeric values directly from the Power BI cube data model.

Copy PivotTable Data and Convert Text to Numbers
If you prefer using standard numeric formulas like SUMIFS, extract the data from the PivotTable and convert the text labels into raw numbers manually.
Experience Powerful Data Analysis with WPS Office
While direct Power BI dataset cube integration is specific to Microsoft's ecosystem, WPS Spreadsheet offers robust, lightweight, and highly compatible data analysis tools. If you are looking for an accessible alternative for handling standard PivotTables and complex formulas without heavy formatting headaches, WPS Office is an excellent choice.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the quick on-screen instructions to set up WPS Office on your device.
- 3. Open Your Spreadsheets: Launch WPS Spreadsheet and instantly open your existing Excel files to enjoy seamless compatibility.

Frequently Asked Questions
Why do my Excel PivotTable labels from Power BI show as text?
PivotTables connected directly to Power BI datasets are treated as OLAP cubes by Excel. Consequently, dimensional labels like Year or Month are imported as cube members (text strings) rather than raw numerical values.
Can I use SUMIFS on a PivotTable connected to Power BI?
Generally, no. Because the labels act as cube members rather than standard numbers, numeric comparisons required by SUMIFS will fail and return zero. You should use CUBEVALUE and CUBESET functions instead.
How do I check if my Excel workbook is connected to Power BI?
Go to the 'Data' tab on the Excel ribbon and click on 'Queries & Connections'. The side panel will display all active dataset connections, allowing you to identify if your data relies on a Power BI model.




