So initially I used the generate rows tool to create a new column named 'Factorial' where each number, n, had n iterations in the Factorial column. So for example the number 3 takes up 3 rows in the Number column and in the corresponding rows in the Factorial column we have 3,2,1 as per the factorial formula. Then with the use of the multi-row formula tool I calculated each iterative step of the factorials. After being stuck for a while about how to only take the max value of each number, i.e the actual factorial, I had a look at some of the solutions and saw the summarize tool can be used to take the max value of the factorial column and group by the number column. After this it was just a case of using the select tool to rename the columns to match up with the output in the solution.

