<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Tableau Prep on Bitfern</title>
    <link>/tags/tableau-prep/</link>
    <description>Recent content in Tableau Prep on Bitfern</description>
    <generator>Hugo</generator>
    <language>en-nz</language>
    <lastBuildDate>Sat, 30 Mar 2024 09:16:33 +0000</lastBuildDate>
    <atom:link href="/tags/tableau-prep/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 13</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-13/</link>
      <pubDate>Sat, 30 Mar 2024 09:16:33 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-13/</guid>
      <description>&lt;p&gt;An Easter themed #PreppinData for 2024 week 13. &lt;a href=&#34;https://preppindata.blogspot.com/2024/03/2024-week-13-easter-sales.html&#34;&gt;Preparing sales of products in the 12 weeks running up to Easter&lt;/a&gt; to allow for easy comparison of the period across years in Tableau Desktop.&lt;/p&gt;
&lt;p&gt;A nice one step solution this week (see screenshot at the end of this post): a FIXED level of detail calc to get the first sale date per year; then date calcs to get the week, day and day order.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 12</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-12/</link>
      <pubDate>Sat, 30 Mar 2024 09:02:07 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-12/</guid>
      <description>&lt;p&gt;#PreppinData 2024 week 12, &lt;a href=&#34;https://preppindata.blogspot.com/2024/03/2024-week-12-graduate-student-loan.html&#34;&gt;graduate student loan repayment calculator&lt;/a&gt;. Good to try out the “value ranges from two fields” option within a “new rows” step. Like some others my interest figure is a little different from the supplied output, however the calc appears to be the same. I also shortcutted the join onto repayment info for undergraduates with a filter (down to just the undergrad row), and joiner fields allowing a simple join on 1=1.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 11</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-11/</link>
      <pubDate>Tue, 19 Mar 2024 11:00:04 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-11/</guid>
      <description>&lt;p&gt;Week 11 of #PreppinData, and the question: &lt;a href=&#34;https://preppindata.blogspot.com/2024/03/2024-week-11-13-months-in-year.html&#34;&gt;what if there were 13 months in a year?&lt;/a&gt; Nice concept to have consistent 28 day months, with 4 weeks per month and each month starting on a Monday and ending on a Sunday. As we found out when we expanded the two row data set though … it’s not as neat as it seems, ending up with a spare day (or two in a leap year).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 10</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-10/</link>
      <pubDate>Tue, 12 Mar 2024 09:42:06 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-10/</guid>
      <description>&lt;p&gt;My solution for the &lt;a href=&#34;https://preppindata.blogspot.com/2024/03/2024-week-10-preppin-for-pulse.html&#34;&gt;#PreppinData 2024 week 10 challenge&lt;/a&gt; follows below. Cool to check out the &lt;a href=&#34;https://help.tableau.com/current/prep/en-gb/prep_new_rows.htm&#34;&gt;New Rows&lt;/a&gt; step this week to fill in the missing days in the data set.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;/assets/2024/03/PD-2024-Wk-10.png&#34;&gt;&lt;img alt=&#34;PD 2024 Wk 10&#34; loading=&#34;lazy&#34; src=&#34;/assets/2024/03/PD-2024-Wk-10.png&#34;&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Transform field per line data with Tableau Prep (2)</title>
      <link>/blog/transform-field-per-line-data-with-tableau-prep-2/</link>
      <pubDate>Sat, 09 Mar 2024 03:49:56 +0000</pubDate>
      <guid>/blog/transform-field-per-line-data-with-tableau-prep-2/</guid>
      <description>&lt;p&gt;A couple of weeks ago I wrote about &lt;a href=&#34;/blog/transform-field-per-line-data-with-tableau-prep-1/&#34; title=&#34;Transform field per line data with Tableau Prep (1)&#34;&gt;a Tableau Prep approach to transposing data from a text file that had a field per line&lt;/a&gt;, with another line separating records. At the time I noted that the approach wasn’t robust enough to handle optional fields, and that it would be annoying to need a join per field in cases where you had a large number of fields. In this follow up post I look at an alternative that doesn’t have those drawbacks.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 9</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-9/</link>
      <pubDate>Mon, 04 Mar 2024 08:58:16 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-9/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://preppindata.blogspot.com/2024/02/2024-week-9-prep-air-capacity.html&#34;&gt;Finishing #PreppinData intermediate-level month&lt;/a&gt; with a &lt;a href=&#34;/blog/one-step-tableau-prep-solutions/&#34; title=&#34;One-step Tableau Prep solutions&#34;&gt;1-step solution&lt;/a&gt; … fun, but definitely harder and less easy to maintain!&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;/assets/2024/03/PD-2024-Wk-9.png&#34;&gt;&lt;img alt=&#34;PD 2024 Wk 9&#34; loading=&#34;lazy&#34; src=&#34;/assets/2024/03/PD-2024-Wk-9.png&#34;&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>One-step Tableau Prep solutions</title>
      <link>/blog/one-step-tableau-prep-solutions/</link>
      <pubDate>Sun, 25 Feb 2024 09:02:23 +0000</pubDate>
      <guid>/blog/one-step-tableau-prep-solutions/</guid>
      <description>&lt;p&gt;This quarter I set myself the goal to learn more about Tableau Prep, and a key part of that has been participating in the weekly &lt;a href=&#34;https://preppindata.blogspot.com/&#34;&gt;#PreppinData&lt;/a&gt; challenges. Something I’ve noticed, and have been super intrigued about, is that some participants have been posting one-step solutions. That wasn’t surprising during beginner month, but now I’m seeing one-step flows covering reasonably complex multi-step data transformations. Cool!&lt;/p&gt;
&lt;p&gt;This week I took a deeper dive into one of those one-step solutions to learn, and share, how they’re being done.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Transform field per line data with Tableau Prep (1)</title>
      <link>/blog/transform-field-per-line-data-with-tableau-prep-1/</link>
      <pubDate>Sun, 25 Feb 2024 00:01:08 +0000</pubDate>
      <guid>/blog/transform-field-per-line-data-with-tableau-prep-1/</guid>
      <description>&lt;p&gt;I recently answered a question on the Tableau Community Forums about &lt;a href=&#34;https://community.tableau.com/s/question/0D58b0000C6T93tCQC/hello-i-need-help-with-some-data-from-a-machine-which-i-need-to-visualize-but-cant-seem-to-import-into-tablaeu-in-a-form-that-i-can-use&#34;&gt;transposing data from a text file that had a field per line&lt;/a&gt;, with a line of dashes separating records. I’m not sure what the formal name for this format is, but there are similarities with &lt;a href=&#34;https://en.wikipedia.org/wiki/Recfiles&#34;&gt;RecFiles&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here is an example:&lt;/p&gt;
&lt;p&gt;&lt;img loading=&#34;lazy&#34; src=&#34;/assets/2026/04/misc-41.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;I don’t know of a way to use data formated like that directly in Tableau Desktop. But we can use &lt;a href=&#34;https://www.tableau.com/products/prep&#34;&gt;Tableau Prep&lt;/a&gt; to transform it into a more natural row per record format!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 8</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-8/</link>
      <pubDate>Sat, 24 Feb 2024 11:16:44 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-8/</guid>
      <description>&lt;p&gt;#PreppinData 2024 week 8 – a “what if?” analysis of two different customer loyalty reward systems for Prep Air. Aiming to identify cost and number of customers benefiting.&lt;/p&gt;
&lt;p&gt;The “estimated yearly flights” calculation tripped me up for a while, out thinking it with a datediff on days, and only when the flights spanned more than a year. The challenge just required a division by the number of years flown over! I enjoyed expanding the data set throughout the flow (pivoting the benefits, joining onto cost per benefit, and then joining onto those tiers less then or equal to each customer’s tier) to then roll back up at the end.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 7</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-7/</link>
      <pubDate>Mon, 19 Feb 2024 09:50:38 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-7/</guid>
      <description>&lt;p&gt;#PreppinData 2024 wek 7:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;/assets/2024/02/PD-2024-Wk-7.png&#34;&gt;&lt;img alt=&#34;PD 2024 Wk 7&#34; loading=&#34;lazy&#34; src=&#34;/assets/2024/02/PD-2024-Wk-7.png&#34;&gt;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 6</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-6/</link>
      <pubDate>Sun, 11 Feb 2024 06:02:57 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-6/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://preppindata.blogspot.com/2024/02/2024-week-6-staff-income-tax.html&#34;&gt;#PreppinData 2024 week 6 challenge&lt;/a&gt; was to find the latest salary per staff member and summarise their tax position given UK income tax bands.&lt;/p&gt;
&lt;p&gt;We’re now into intermediary level challenges and so there are less prescriptive steps, and more options to solve the problem your way. For me the problem had two key parts: (1) get the latest row per staff member; and (2) the various calculations for salary and tax paid based on tax bands.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 5</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-5/</link>
      <pubDate>Tue, 06 Feb 2024 06:43:18 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-5/</guid>
      <description>&lt;p&gt;The final week of beginner month for #PreppinData involved a bit more complexity around joins, calculations and outputs. On top of Tableau’s getting started tutorial &lt;a href=&#34;https://preppindata.blogspot.com/&#34;&gt;#PreppinData&lt;/a&gt; has been a great way to get into Tableau Prep. I’ve invested about 12-15 hours of time and feel like I’ve got a good initial grasp of the product.&lt;/p&gt;
&lt;p&gt;The challenge walk through provided less info on the “how”, which in some ways was quite nice as I felt more license to solve the problem my way. On the other hand I wonder if I should have made my flow less complex instead of aiming for one data set that could then be filtered down to the different outputs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 4</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-4/</link>
      <pubDate>Sun, 28 Jan 2024 07:38:54 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-4/</guid>
      <description>&lt;p&gt;#PreppinData 2024 week covered using &lt;strong&gt;join types&lt;/strong&gt;, &lt;strong&gt;i&lt;/strong&gt;n this case to understand which seats &lt;em&gt;aren’t chosen&lt;/em&gt; given a seating plan and booking data.&lt;/p&gt;
&lt;p&gt;I had a preconceived idea of the solution here, as I’m used to using LEFT OUTER JOIN in SQL and then having a WHERE clause that returns rows where the result from the right hand table IS NULL. So I was expecting to have a join and then a filter in my flow. However, Tableau Prep has some additional &lt;a href=&#34;https://help.tableau.com/current/prep/en-us/prep_combine.htm#join-your-data&#34;&gt;join types&lt;/a&gt; that let you return entries where there are only values in the left table, only values in the right table, or even a “not inner” join for entries only in the left or right but not in both. I gave the left only option a go and it did the job nicely! Great how you can click on the segment of the venn diagram representation of the join to select the type too.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 3</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-3/</link>
      <pubDate>Mon, 22 Jan 2024 10:06:31 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-3/</guid>
      <description>&lt;p&gt;Two lots of Tableau Prep practice this week. A forum question (see end of post) and #PreppinData 2024 week 3. The challenge for #PreppinData was to join targets from a spreadsheet, with a sheet per quarter, to our previous sales figures. And then to calculate difference from target. Similar union and clean up steps to previous challenges to get to the point where there are two data sets to join, and where we have consistent fields in both (first letter of class, and a month number). Then the join is pretty straightforward:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tableau Prep and #PreppinData 2024 week 2</title>
      <link>/blog/tableau-prep-and-preppindata-2024-week-2/</link>
      <pubDate>Sat, 13 Jan 2024 05:09:22 +0000</pubDate>
      <guid>/blog/tableau-prep-and-preppindata-2024-week-2/</guid>
      <description>&lt;p&gt;Week two of getting to grips with Tableau Prep and I decided to countinue with #PreppingData. The team of Carl Allchin, Jenny Martin and Tom Prowse do a great job of picking challenges that gradually introduce you to functionality. This week covered unions, aggregation and reshaping data using pivots. I was particularly interested in pivots, as that’s a frequent challenge people have on the Tableau forums where we talk about data prep being a good option.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Getting started with Tableau Prep</title>
      <link>/blog/getting-started-with-tableau-prep/</link>
      <pubDate>Mon, 08 Jan 2024 06:37:17 +0000</pubDate>
      <guid>/blog/getting-started-with-tableau-prep/</guid>
      <description>&lt;p&gt;I’ve been meaning to explore Tableau Prep for a while and finally took it for a test drive.&lt;/p&gt;
&lt;p&gt;Many data professionals have experienced the need to prepare and clean data prior to analysis in tools like Tableau Desktop. Classic examples are: splitting data out of a single combined field; un-pivoting when each year of a measure is in a separate column; or maybe combining sales data from multiple differently formatted sources.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
