Exercise: steps for pies and donuts – beyond the basics

The following are the steps:

  1. Within the workbook associated with this chapter, navigate to the worksheet entitled Altered Pie Map and select the Superstore data source.
  2. Create the following calculated fields:

Name

Code

Log Sales

LOG(SUM(Sales))

Category State Sales

{FIXED State, Category: SUM(Sales)}

State Max

{FIXED State : MAX([Category State Sales])}

Top Selling Category per State

MAX(If [State Max] = [Category State Sales] then Category END)
  1. Within the MarksView card, set the view type to Pie.
  2. Place Log Sales on the Size shelf.
  3. Within the Data pane, select the States data source.
  4. Click the chain link next to State in the Data pane in order to use ...

Get Mastering Tableau 2019.1 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.