Power Query Problems

How to Rearrange Excel Scorecard Rows and Fill Repeated Labels in Power Query

Muhammad TalhaMuhammad Talha Nov 10, 2026 868 views

Question details

The user needs to transform source data into a scorecard layout, ensuring no blank cells remain beneath grouped fields like manufacturers and categories.

Rearrange Excel Scorecard Rows and Fill Repeated Labels
Product
Excel
Device & OS
not provided
Scenario
Creating a clean scorecard layout from raw source data without manually copying and pasting or relying on PivotTable blank-cell formatting.
Observed behavior
Source data or standard PivotTables often leave blank cells beneath grouped category labels, requiring a transformation to fill repeated values and rearrange rows.
Before you start

Ensure your source data is formatted as an Excel Table (by pressing Ctrl+T) before importing it into Power Query to maintain a dynamic connection.

Solution 1Recommended

Use Power Query to Fill Down and Reshape Data

Leverage the 'Fill Down' and 'Unpivot' features in Power Query to quickly populate empty cells under categorical labels and structure a proper scorecard layout.

Power Query is the most efficient tool for reshaping data without manual copy-pasting. By using the Fill Down and Unpivot commands, you can easily transform sparse datasets into a complete, tabular scorecard format.

1
Load Data to Power Query

Select any cell inside your data table, navigate to the 'Data' tab on the Excel ribbon, and click 'From Table/Range' to open the Power Query Editor.

2
Fill Down Repeated Labels

Select the columns containing the manufacturer and category labels that have blank cells beneath them. Right-click the column header, select 'Fill', and then choose 'Down'.

3
Unpivot or Reshape Columns

If your scorecard metrics are spread across multiple columns, select your main category columns, right-click the headers, and choose 'Unpivot Other Columns' to reshape the data into a flat format.

4
Sort into Scorecard Order

Click the drop-down arrow on your category or manufacturer column headers and choose 'Sort Ascending' or 'Sort Descending' to arrange the rows into your specific scorecard order.

5
Load Transformed Data to Excel

Click 'Close & Load' on the Home tab of the Power Query Editor to output the transformed, clean scorecard table into a new Excel worksheet.

Use Power Query to Fill Down and Reshape Data
Dynamic Updates: Once this query is set up, you can simply click 'Refresh' on the Data tab whenever your original source data changes, and the scorecard will update automatically.
Free Microsoft Office alternative

Try WPS Office for Your Data Analysis Needs

While Power Query is a specialized Excel tool, WPS Office offers a free, lightweight, and highly compatible alternative for everyday data processing. Enjoy familiar UI, seamless migration, and powerful PivotTable features without high subscription costs.

  1. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office suite for your operating system.
  2. 2. Open your Excel File: Launch WPS Spreadsheets and open your existing .xlsx source data file without losing any formatting or data integrity.
  3. 3. Process Data Effectively: Use WPS Spreadsheets' robust data sorting, Go To Special (Blanks), and PivotTable options to effortlessly manage your scorecard data.
100% compatibility with Microsoft Excel (.xlsx) scorecard formatsLightweight installation that runs smoothly on older devicesFamiliar spreadsheet interface with powerful data sorting and filtering toolsBuilt-in PivotTables and robust layout options for scorecard creation
microsoft office alternative - wps office

Frequently Asked Questions

Can I automatically fill blank scorecard cells without using Power Query?

Yes. You can use the 'Go To Special' feature in Excel or WPS Spreadsheets. Select your range, press F5, click 'Special', choose 'Blanks', type '=' and point to the cell directly above, then press Ctrl+Enter to fill all blanks instantly.

Why does my PivotTable leave blank cells in the row labels?

By default, PivotTables group items and only show the top-level label once to maintain a clean outline. To fill these blanks, click inside the PivotTable, go to the PivotTable Design tab, select 'Report Layout', and choose 'Repeat All Item Labels'.

Will using Power Query alter my original source data?

No. Power Query connects to your source data, applies your transformation steps in the background memory, and outputs a completely new table. Your original source data remains untouched and safe.