A table is a standard form of data representation with as many details as possible. It stores data as a two-dimensional array that consists of columns and rows. Table column headers show dimension or measure names, while cells contain their values. Each row is a set of cells with each column's value. A table may also contain a row with results.
Tables are a great tool for detailed analysis (a deep dive into figures) and problem detection. At the same time, it takes longer to read information from a table than from a graph or chart. Therefore, it is a good idea to place it at the end of a dashboard.
A table is a good choice for quantitative comparison, where you can see different values of multiple categories or dimensions. The table below shows three different measures by three categories.
Source table
Categories
Subcategories
Delivery type
Sales
Number of customers
Number of orders
Household cleaners
Detergents
Delivery
597729
250
256
Household cleaners
Detergents
Pickup
1352690
521
550
Household cleaners
Cleaners
Delivery
541911
225
230
Household cleaners
Cleaners
Pickup
1348868
493
518
Household goods
Beauty and health products
Delivery
263891
132
134
Household goods
Beauty and health products
Pickup
706423
321
333
Household goods
Kitchen products
Delivery
671566
165
167
Household goods
Kitchen products
Pickup
1283731
289
297
Household goods
Non-essential goods
Delivery
701818
210
213
Household goods
Non-essential goods
Pickup
1521937
447
475
Home appliances
Kitchenware
Delivery
829157
213
218
Home appliances
Kitchenware
Pickup
2048211
482
513
Home appliances
Health and beauty equipment
Delivery
944770
255
258
Home appliances
Health and beauty equipment
Pickup
2387410
550
581
To simplify the comparison of different values and make the information easier to comprehend, you can use advanced settings when creating a table:
Dimensions and measures to be used as columns. The field name appears in the column header. You can use markup functions in columns.
Colors
Measure. Affects shading of all cells within a row. It may only contain one measure.
Sorting
Dimensions and measures specified in the Columns section. You can use multiple dimensions and measures. The order of section fields affects the sorting order of table fields. The sorting direction is marked with an icon next to the field: for ascending or for descending. To change the sorting direction, click the icon.
Under Columns, click the icon to the left of the dimension or measure name.
In the window that opens, enable the Tooltip option, enter the text in the field below and click Apply. By default, when you enable the option, the tooltip text is substituted from the field description in the dataset.
When the option is enabled, the icon appears next to the table column header. Hover over the icon to bring up the tooltip.
Under Columns, click the icon to the left of the measure name.
In the window that opens, enable Linear indicator.
Specify the indicator settings:
Fill type: Type of fill color for the indicator.
Positive values: Indicator color for positive values.
Negative values: Indicator color for negative values.
Show labels: This option enables displaying measure values in a cell.
Show in totals: This option enables displaying the indicator in cells with totals.
Align: Left or right alignment of the indicator position in a column. Only applies if all numbers in a column are either positive or negative.
Scale: Sets the indicator scale. If you set it manually, specify the min and max values. Make sure the min value is less than or equal to 0 and the max value is larger than or equal to 0.
Limit the size of your tables or use filters/sorting. Tables with too many rows or columns are hard to read.
Use tables for their intended purpose only. Do not replace all data visualization types with them.
Place dimensions on the left and measures on the right. This makes the data easier to comprehend.
Make sure column names you use are short and readable.
Enable the display of totals at the bottom of a table. If the Pagination option is selected, the Total row is placed on the last page.
Table with totals and pagination
When posting a table on a dashboard, enable auto height in the widget settings. This will help you save dashboard space.
Setting up auto height
If you use a filter, the table height will automatically adapt to the number of rows.
Using a filter with the auto height option enabled
If no value is set in the filter, a table displays all rows depending on the limit to the number of rows per page.
If the number of displayed rows decreases when using the filter, the table height is reduced automatically.
Represent totals (or subtotals) as a column. To do this, use calculated fields based on window functions or LOD expressions. For example:
Subtotal amount of sales by product category: the CategorySales measure with the formula SUM(SUM([Sales]) WITHIN [ProductCategory]).
Total sales: the TotalSales measure with the formula SUM(SUM([Sales]) TOTAL).
Sample table
Maximum order count per month grouped by product category: the MaxCountByCategory measure with the formula MAX(COUNTD([OrderID] INCLUDE [ProductCategory])).
Sample table
Use sorting. This makes the data easier to comprehend.
Use the URL function in table cells to enable users to follow a link.
If a table cell contains a long text, set up the column width to enable a row break in cells.
Setup example
When displaying numeric data, specify units and the number of decimal places. For example, if you select Millions, M in the drop-down list of the Units field, the 10.3 M value is displayed instead of 10,345,234.23. If you set the Precision field value to 2, then 123.12 is displayed instead of 123.1234.