How to Automate Excel Data and PivotTables Using Power BI
Question details
The user wants to automate the addition of daily entries into an Excel workbook and update multiple dependent PivotTables using Power BI, without creating duplicate records.

- Product
- Microsoft Excel / Power BI
- Device & OS
- not provided
- Scenario
- Automating daily data reporting and refreshing multiple PivotTables from a single data source.
- Observed behavior
- The user currently has a manual workflow with an Excel workbook containing multiple PivotTables tied to one source sheet and needs to transition to an automated Power BI reporting system.
Ensure you have Power BI Desktop installed on your computer and format your Excel source data as a structured Table (Ctrl+T) so Power BI can easily identify new rows during data refresh.
Import Excel Data to Power BI and Remove Duplicates via Power Query
Use Power BI's Get Data feature to import your Excel workbook, then apply Power Query steps to automatically filter out duplicate entries before generating your reports.
Instead of updating PivotTables directly inside Excel, Power BI imports the raw source data and recreates the PivotTable experience using the Matrix visual. This allows for automated scheduled refreshes and better handling of duplicate daily entries.
Open Power BI Desktop, click on 'Get Data' in the Home ribbon, select 'Excel workbook', locate your file, and click 'Open'.
In the Navigator window, check the box next to your source data table containing the daily entries, then click 'Transform Data' to open the Power Query Editor.
In Power Query, select the column (or hold Ctrl to select multiple columns) that represents a unique record. Right-click the column header and choose 'Remove Duplicates'.
Click 'Close & Apply' in the top-left corner to load the cleaned data into Power BI.
Use the 'Matrix' visual in the Visualizations pane to recreate your Excel PivotTables, dragging your fields into the Rows, Columns, and Values sections.

Manage Your Spreadsheet Data with WPS Office
While advanced business intelligence tools are great for enterprise dashboards, WPS Office provides a lightweight, highly compatible, and free alternative for managing daily data entries and creating powerful PivotTables without a steep learning curve.
- 1. Download and Install: Download WPS Office Free from the official website and install it on your device.
- 2. Open Your Excel File: Launch WPS Spreadsheet and open your existing .xlsx file containing your daily data and PivotTables.
- 3. Analyze with PivotTables: Navigate to the 'Data' or 'Insert' tab to manage your PivotTables, refresh your data, or use the 'Remove Duplicates' feature instantly.

Frequently Asked Questions
Can Power BI directly update my Excel PivotTables?
No, Power BI does not write data back to Excel to update traditional PivotTables. Instead, it reads the data from Excel and uses its own visuals, like the Matrix visual, to present the data in a PivotTable-like format.
How do I prevent duplicate data when appending daily records?
You can automate duplicate removal using Power Query. When you connect your Excel file to Power BI, use the 'Transform Data' option to open Power Query, select your unique identifier columns, and choose 'Remove Duplicates' before loading.
Do I need a paid license to automate my data refresh?
You can manually click 'Refresh' in Power BI Desktop for free. However, if you want to set up an automated, scheduled daily refresh in the cloud without manual intervention, you will need to publish your report to Power BI Service, which may require a Power BI Pro license.




