How to Use Short Column Aliases in Power Query and Power Pivot
Question details
The user wants to use shorter column aliases or column numbers when creating DAX measures in Power Pivot to handle excessively long source column names.

- Product
- Excel Power Query and Power Pivot
- Device & OS
- not provided
- Scenario
- Importing data with long column headers and building DAX formulas in the Power Pivot Data Model.
- Observed behavior
- DAX requires explicit column names and does not natively support column index numbers, making formulas cumbersome to write and read with long source headers.
Before renaming your columns, ensure that you have not already created extensive DAX measures referencing the original long column names, as renaming them after the fact may break existing formulas.
Rename Columns in Power Query Before Loading to Data Model
The most effective way to use short column names in Power Pivot is to rename them directly within the Power Query Editor before the data is loaded into your data model.
By applying the alias in the Power Query transformation steps, the shortened name is pushed downstream into the Power Pivot data model automatically. This creates a clean, repeatable process without modifying your original source data.
Open Excel, navigate to the Data tab on the ribbon, click Get Data, and select your data source to import the table.
Instead of loading the data directly, click Transform Data to open the Power Query Editor window.
Double-click the header of any column with a long name, type your desired short alias, and press Enter. Repeat this for all necessary columns.
Go to the Home tab, click the bottom half of the Close & Load button, and select Close & Load To...
In the import dialog box, select Only Create Connection, check the box for Add this data to the Data Model, and click OK.

Experience Fast and Lightweight Data Analysis with WPS Office
While complex data modeling with Power Pivot and DAX is specific to the Microsoft Excel ecosystem, WPS Spreadsheet offers a highly compatible, fast, and free alternative for standard pivot tables, data visualization, and everyday analytical tasks.
- 1. Download and Install: Download WPS Office from the official website and install the lightweight application on your device.
- 2. Open Excel Files Seamlessly: Launch WPS Spreadsheet and open your existing .xlsx workbooks with zero formatting loss.
- 3. Analyze Data: Use the Data and Insert tabs to easily insert PivotTables, filter data, and perform standard calculations.

Frequently Asked Questions
Can I use column index numbers in DAX instead of column names?
No, DAX does not support referencing columns by their index numbers. You must use explicit column names, which is why renaming long columns in Power Query to shorter aliases is the recommended approach.
Will renaming columns in Power Query affect my original data source?
No. Power Query only transforms the data as it is being imported into Excel. Your original data source (such as a SQL database or raw CSV file) remains completely unchanged.
Can I rename a column directly in the Power Pivot window?
Yes, you can double-click a column header directly in the Power Pivot Data Model to rename it. However, renaming it in Power Query is generally preferred as it ensures the transformation is recorded as a repeatable step in your query sequence.




