2023: Week 23 - Solution
Solution by Tom Prowse and you can download the workflow here . The challenge this week comes from Andreea Scintei where we try to evaluate the quality of teaching based on surveys and results data. Step 1 - Join Data Sets First we want to input both tables from the input files and then join them using an inner join on Student ID: Step 2 - Avg Grades Next we want to calculate the average grade per class for each subject. We can do this using an aggregate step where we group by Class and Avg Economics, English, and Psychology: At this stage our data table should look like this: Step 3 - Pivot Data We're now in a position where we can change the shape of our table by pivoting so that we have a column for Subject, Grade, and Class. To achieve this we want to do a columns to rows pivot where we bring Economics, English, and Psychology into the pivoted fields section: Our table should now look like this: Step 4 - Filter & Rank The final steps are to cal...