How-To Guides
...
Create Your Own Report with Re...
Creating Table Visualization
6 min
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 to create a new chart select new > chart once in the create a new chart dialogue, select tutorial flights from the choose a datasource dropdown next, select the visualization type as table 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 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 finally, select run query to see the results of the table congratulations, you have created your first visualization in apache superset! save your visualization to save the visualization click on save in the top left of the screen 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) similarly, select add to new dashboard and enter tutorial dashboard finally, select save & go to dashboard