Hi team,
I am a an experienced intermediate Excel user but a Power Query novice.
I have a reference workbook with a list of Active Employees for each month in a separate tab. Around 23k rows per month.
I have several monthly reports that uses the Active Employees reference workbook with simple PQ that 1) pulls the data from a SharePoint folder, 2) navigates to the month's tab, 3) promotes headers and 4) changes type.
Our practice is to take a copy of last month's report and rename it for this month. I simply Edit the PQ to navigate to the new tab for this month. It has done the job successfully until now.
The problem I have encountered is that this month there are less rows than last month. When I run the report the remaining rows of last month's data from where this month ends are left there.
To illustrate more clearly, September had 23,500 rows and October 23,000. When I run the query I get November data until row 23,000 and then 500 rows of September data after that. Can anyone help me figuring out a query that completely clears last month's rows?
Thank you,
Graeme