How to do it…

  1. Open a blank worksheet and drag and drop Gender from Dimensions into the Columns shelf.
  2. Drag and drop Number of Records from Measures to the Rows shelf.
  1. Drag and drop Aware of recycling possibility from Dimensions to Color in the Marks card.
  2. Hover over the Number of Records pill in the Rows shelf so that a small downward arrow appears and click on it.
  3. Navigate to Quick Table Calculation | Percent of Total. Choose the Edit Table Calculation... option and select Table (down).
  4. Press Ctrl and drag and drop Number of Records from Rows to Label in the Marks card.
  5. Click on the Sheet 4 tab at the bottom of the page and enter Awareness by Gender:

As we can see in the preceding screenshot, among females there are more buyers who ...

Get Tableau 2019.x Cookbook 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.