r/ExcelPowerQuery • • May 02 '25

Combine/Append/Join question

I need to run a report based on the performance of 5 to 6 units of people (@70 records each) on 2 different tasks compared against a roster of requirements. So - I need to combine rosters of data on each task, append those, and then compare them against a requirement roster. All rosters have identical demographic info. Would this entail multiple queries from multiple folders (say - a folder per task housed in an overall folder with the requirement roster) or can it be done in 1 query? I'm new to Power Query - I've done a few simple ones with success, have a good grasp on the data transformations needed (even did a large nested conditional filter column) but this one is boggling my mind! I have joined, and appended, but never with this many files - multiple joins and appends needed.

Help?

1 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/AceWrapp May 02 '25 edited May 02 '25

All files are on the same 500-ish people, exported into excel from the DB by smaller unit (in the case of the performance score data) or total unit (in the case of the performance requirement data) - so each file will contain the same identifiable demographic information per person (including an employee ID number), with the addition of Task A data in 5 performance files, Task B data in 5 performance files, and requirement data in 1 file. They currently all live in the same folder, but since I export them I could change that.

So in your step 1 (above), would I join all 5 task A files first, then join all task B files, then append those two full unit files, thereby arriving at my complete unit score table, which I would then (step 2) join to the requirement file (which is full unit from the first)?

Step 3 I've actually done already (I have to produce a roster for the unit at the beginning of their training identifying which people have certain requirements based on job title) - It requires some basic transformations (some scores are time based) and a nested conditional filter column - my issue is that at that point, I'm only dealing with 1 file. MUCH easier!

1

u/Weaver707 May 03 '25

Are the task files organized so there is one row per employee?

1

u/AceWrapp May 03 '25

Yes - the total rows are equal between the 2 tasks (5 files per task) and the requirement file