Tableau practice: String cleaning and text normalization

Chapter 7 · 5 questions · included in full access

  1. Question 1 · easy

    Rep first name

    Create Rep First Name: extract the first word of the sales rep's name using SPLIT([Rep], ' ', 1).

    Solve it in your browser
  2. Question 2 · easy

    Product compound label

    Create Product Label: combine Category and Product separated by a colon and space: [Category] + ': ' + [Product].

    Solve it in your browser
  3. Question 3 · easy

    Tableau string indexing

    Unlike Python or JavaScript which use 0-based indexing, what position index does Tableau use for string functions like MID() and SPLIT()?

    Solve it in your browser
  4. Question 4 · medium

    Standardized customer name

    Create Clean Customer: convert the Customer name to uppercase and strip accidental outer spaces: UPPER(TRIM([Customer])).

    Solve it in your browser
  5. Question 5 · medium

    Product code suffix

    Create SKU Number: extract the last 3 characters of the Product Code using RIGHT([Product Code], 3).

    Solve it in your browser

These questions are part of full access.

The first chapters of every track are free. Full access is a one-time payment.

See pricing