2023: Week 30 - Solution
Solution by Tom Prowse and you can download the workflow here . We continue to look at some of the new features within Tableau Prep this week, with a focus on % difference from and the lookup function. Step 1 - Input Data First up we want to input all of the data from the Excel sheet that contains all of the different months of data. To do this we can utilise the wildcard union within the input step to bring in all of the sheets to a single step. We can then tidy the table by renaming the Table Names field to Month and then merge any fields that have a similar name. You can merge fields by selecting the fields then pressing Merge fields in the grey bar in the profile pane. At this stage our table should look like this: Step 2 - Dates Next we want to format the date so it is in a traditional date field format. This involves converting the Order Date string and then combining with the month field. First, we split Order Date using the ',' as a separator and we want ...