Skip to main content

Simple Data Visualization - Tables (Part 2)

Overview

Cards are the smallest analysis units on a Page or Dashboard. In this example, a table Card is used to present detailed product-level data intuitively.

The sample dataset is Product Practice Dataset.xlsx.

This case uses Province, Product Category, and Product Name as dimensions and displays numeric information such as Sales Amount, Quantity, Gross Profit, and Cost Price. The final table includes subtotals by province and a total for the full table.

Prerequisites

  1. In Data Preparation > Dataset, create a folder such as Product Practice.
  2. Import the sample dataset into that folder.

For more details, see Local File.

Steps

  1. Create a visual chart Card and select the Product Practice Dataset.
  2. Add a calculated field named Gross Profit.
  3. Drag the required fields into Dimensions and Measures to build the product detail table.
  4. Configure data formats, conditional formatting, and table properties to complete the final visualization.

Create a New Card

  1. On the Data Analysis page, click Add Card.
  2. Choose Chart.
  3. Search for and select the Product Practice Dataset.

Build the Table Card

  1. Select the Table visualization type and rename the Card to Product Detail Table.

  1. Add a calculated field:

Gross Profit = Sales Amount - Sales Quantity * Cost Price

  1. Drag the following fields into Row:

    • Province
    • Product Category
    • Product Name
  2. Drag the following fields into Metric:

    • Cost Price
    • Sales Amount
    • Sales Quantity
    • Gross Profit
  3. Format Cost Price, Sales Amount, and Gross Profit as currency.

  4. Enable a column total for the whole table.

  5. Enable subtotals on Primary Category.

    |300

  6. Adjust header styles, including background colors, and optionally sync styles to all fields in the same section.

  7. Use Themes and Styling to enable zebra stripes and adjust background colors.

    |300

  8. In Subtotals / Totals, choose to show the column total at the top and customize subtotal and total fill colors.

  9. Click Save and Exit.

Manage Table Cards

After the table Card is created, you can reopen it for editing, access more operations from the Card menu, and resize it by dragging the lower-right corner.

For more details, see Card Management.

More

You have now learned the core steps of building a table Card. Next, see Add Dashboard Interactions.