--- layout: default title: Table parent: Visualization types grand_parent: Creating visualizations using queries great_grand_parent: Building data visualizations nav_order: 65 --- # Tables in the visualization editor A table displays query results in rows and columns. Use a table to view raw data or summary statistics. ## Creating a table The following example demonstrates a basic table visualization. Before you begin, complete the [prerequisites]({{site.url}}{{site.baseurl}}/dashboards/visualize/visualization-editor/#prerequisites). ### Basic table Start with a query that returns multiple fields: ```sql source = opensearch_dashboards_sample_data_flights | fields Carrier, AvgTicketPrice, DistanceMiles, FlightDelayMin | head 20 ``` {% include copy.html %} After running this query, select **Table** as the chart type. The result is a table displaying the selected fields as columns, as shown in the following image. ![A table displaying flight data]({{site.url}}{{site.baseurl}}/images/dashboards/visualization-editor/table-chart-basic-result.png){: width="100%" } ## Configuring a table You can configure the following settings in the configuration panel. ### Table | Setting | Description | | --- | --- | | **Max rows per page** | Sets the maximum number of rows displayed per page. | | **Cell alignment** | Controls the text alignment within cells. Supported values: **Auto**, **Left**, **Center**, **Right**. | | **Cell style** | Select **Add new cell type** to apply custom styling to specific columns. | | **Column filters** | When enabled, displays filter controls in column headers for interactive filtering. | ### Threshold For information about configuring thresholds, see [Thresholds]({{site.url}}{{site.baseurl}}/dashboards/visualize/visualization-editor/configuring-visualizations/thresholds/). ### Table footer | Setting | Description | | --- | --- | | **Show footer** | When enabled, displays a footer row with summary calculations for each column. | ### Data links Select **Add link** to create clickable links within table cells. Use data links to navigate to external URLs or other dashboards based on cell values.