The Preppin’ Data, 2021:Week13  ­– Premier League Statistics –  challenge asks participants to take 5 seasons worth of player statistics and rank them by the number of open play goals they have scored overall and by position.

Here are the outputs from one of my flows:

Here is the solution in Alteryx:

And the solution in Prep:

It has to be said that the flow in Prep looks cleaner.

Comparison

In terms of unioning, summarising and filtering the data, the steps in each tool were more or less identical. The same goes for using calculations to create new fields.

The area of contention was when it came to ranking the players, and in this case I must say Tableau Prep was more straightforward.  In Alteryx, sorting and then using the Record ID tool was not sufficient to rank the players as this did take into account ties (players with the same number of goals). I therefore had to use a multirow formula that looked something like this:

A little time confusing. I had to also write something similar but this time grouping by ‘position’ in order to get the rank by position. In Tableau Prep all I had to do was add a quick Rank calculation that already takes into account the tied number of goals and also has group by capability:

This meant I did not have to write out a whole expression and the process was much quicker.

Another difference was in turning nulls into zeros (to ensure calculations worked correctly). In this case, Alteryx had the edge as the Data Cleansing tool can quickly achieve this on multiple columns with one simple checkbox. In Tableau Prep I had to individually call the ZN() function on each column necessary which is marginally slower.