Power Query Problems

How to Combine Different HR Data Formats Using Power Query

Jason MillerJason Miller Oct 29, 2026 869 views

Question details

The user needs to standardize and merge HR data from various systems where column names, status values, and date formats are inconsistent.

How to Combine Different HR Data Formats Using Power Query
Product
Microsoft Excel (Power Query)
Device & OS
not provided
Scenario
Consolidating HR data from multiple databases or files into a single standardized master list.
Observed behavior
Source data contains differing column names, date formats, and status values, requiring transformation before they can be merged.
Before you start

Ensure all source HR files or databases are accessible and identify a unique identifier, such as an Employee ID, across all datasets to use as a matching key.

Solution 1Recommended

Standardize and Combine Sources in Power Query

Create separate queries for each data source to clean and standardize the data before merging them into a single output.

By transforming each source individually, you can handle discrepancies in column names and data types without altering the original files. Setting them as connection-only queries keeps your workbook lightweight.

1
Connect to data sources

Open Excel, go to the Data tab, and use 'Get Data' to create a separate query for each HR database, file, or folder.

2
Clean and standardize

In the Power Query Editor, rename column headings so they match exactly across all queries. Replace inconsistent status values with standard definitions and format all date columns to a consistent data type.

3
Combine the queries

Select 'Append Queries' to stack the data if they share the same structure, or 'Merge Queries' to join tables using Employee ID as the matching key.

4
Load and refresh

Load the combined query to your worksheet. In the future, simply click 'Refresh All' on the Data tab to update the master list when source files change.

Standardize and Combine Sources in Power Query
Automation Tip: Automating status updates via Employee ID lookup eliminates the need for manual record reviews.
Free Microsoft Office alternative

Easily Manage and Consolidate HR Data with WPS Office

If you are looking for a highly compatible and cost-effective way to manage HR data, WPS Office is an excellent choice. While Power Query is specific to Microsoft, WPS Spreadsheet provides robust data consolidation tools, familiar lookup formulas, and flawless handling of complex Excel files for free.

  1. 1. Open your data: Launch WPS Spreadsheet and open your primary HR data file.
  2. 2. Consolidate records: Use Data Consolidation or XLOOKUP formulas to pull in matching data from other departmental files using Employee IDs.
  3. 3. Save in Excel format: Save your unified master list as an .xlsx file to ensure perfect compatibility with other Office suites.
Fully compatible with Microsoft Excel formats (.xls, .xlsx, .csv)Lightweight software that runs smoothly on almost any deviceFamiliar spreadsheet interface requires zero learning curvePowerful built-in lookup functions (VLOOKUP, XLOOKUP) for data merging
QA img-9

Frequently Asked Questions

Do column headers need to match to combine data in Power Query?

If you are appending (stacking) data, matching column headers will align automatically. If they differ, you should manually rename the headers in the Power Query Editor before appending so they line up correctly.

Can I combine a CSV file with an SQL database?

Yes, Power Query supports combining disparate data sources. Connect to each source separately, perform any necessary formatting, and then merge or append the resulting queries.

Will I have to repeat this process when new HR data is added?

No. Once you have established your transformation and merge steps, the process is saved. You only need to click the 'Refresh All' button to pull in the latest data from your connected sources.