---
title: Creating Table Visualization
slug: kronpam-how-to-guides-180/creating-table-visualization
description: Learn how to create a table visualization in the Reporting module with this step-by-step guide. Discover how to select a data source, choose the visualization type, specify grouping by travel class, add metrics for count and cost, and save the visualizati
docTags: 
createdAt: 2022-08-18T14:06:12.000Z
---

This is the fifth step of creating your own report with the Reporting module.

In this section, we’ll create our first visualization: a table to show the number of flights and cost per travel class.&#x20;

To create a new chart:

1. Select **New** > **Chart***.*

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/DIxSL6SE2s9sboL_lw_f0_image.png" size="36" width="267" height="162" position="center" showCaption="false"}

- Once in the **Create** **a new chart** dialogue, select tutorial\_flights from the **Choose a datasource&#x20;**&#x64;ropdown.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/9VBREwoKvQDSrDrRR9ZS3_image.png" size="50" width="526" height="248" position="center" showCaption="false"}



- Next, select the **visualization type** as **Table**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/fPbdj5u1s0pbEZArXx554_image.png)

- Then, select **Create new chart** to go into the chart view.
- By default, Apache Superset only shows the last week of data: in our example, we want to look at all the data in the dataset.

No problem - within the **Time** section, remove the filter on **Time range** by selecting **Last week** then changing the selection to **No** filter, with a final **OK** to confirm your selection.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/T1NsUyjnuDto2owEq-XO5_image.png" size="66" width="889" height="625" position="center" showCaption="false"}

- Now, we want to specify the rows in our table by using the **Group by** option. Since, in this example, we want to understand different Travel Classes, we select Travel Class in this menu.
- Next, we can specify the metrics we would like to see in our table with the **Metrics** option. **Count(\*)**, which represents the number of rows in the table (in this case, corresponding to the number of flights since we have a row per flight), is already there. To add cost, within **Metrics**, select **Cost**. Save the default aggregation option, which is to sum the column.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Qw4YwPwGXcgKvPI5YiZhA_image.png" size="66" width="811" height="601" position="center" showCaption="false"}

- Finally, select **Run Query** to see the results of the table.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/vPnbVYfkKmjv6Hr_dTTZ0_image.png" size="62" width="891" height="880" position="center" showCaption="false"}

Congratulations, you have created your first visualization in Apache Superset!

### Save Your Visualization

To save the visualization:

1. Click on **Save** in the top left of the screen.
2. Select the **Save as** option, and enter the chart name as *Tutorial Table* (you will be able to find it again through the **Charts** screen, accessible in the top menu).
3. Similarly, select **Add to new dashboard** and enter *Tutorial Dashboard*. Finally, select **Save & go to dashboard**.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/i2WolplMh5HVRCzYO1lIx_image.png" size="60" width="618" height="397" position="center" showCaption="false"}

