Bidimensional query
Counts the selected topics by two of their fields: a row for each value of the grouping field and a column for each value of the column field.
The table¶
- The table fits the size of the dashlet: the header stays fixed and it shows as many rows as fit. Only when there are more rows than fit a pager appears at the bottom, with the pages and the rows per page.
- The dashlet title shows the number of rows and a magnifier. The magnifier opens a search box that filters the
rows by the text of any column. Press
Escor the magnifier again to close it. - Drag the edge of a column header to change its width. The columns are not moved and the rows are not grouped: they are the values of the fields of the dashlet.
- These changes last until the page is reloaded. To keep them, save the dashboard in edit mode (Save, Save as new or, in a rule dashboard, for everyone): they go with the configuration of the dashlet. When its configuration changes, the widths of the columns removed are forgotten.
- Click a column header to sort the rows by that column: once ascending, again descending and a third time without sorting. To sort by several columns (for example, by date and then by calculated weight), Shift+click (or Ctrl+click) the next headers in turn. The arrows at the right of each header show its order and, when the sort goes by several columns, a number shows the place of each one. The sort is saved with the dashboard like the changes above.
- In edit mode the dashlet title keeps its tools (the counter and the magnifier) next to the icons to configure and remove it.
- The export menu (HTML, CSV, YAML) exports all the rows of the table, not only the visible page, with the search applied.
- The cells are colored by their count: the higher the count, the darker the cell.
- When the values are topics or resources, the table shows their names; hover over the first column to see the value itself.
- With Show totals row? the table adds a Total column with the sum of each row and a Total row with the sum of each column.
There are a list of elements can be configured in the dashlet:
Height in canvas rows¶
Defines the height in number of rows given to the dashlet.
The height value will be between 1 and 4 where 4 will occupy 100% of the page.
Width in canvas columns¶
Sets the width that the item will occupy in the dashboard.
The maximum allowed value is 12 (100% width).
Autorefresh¶
Allows to make the dashlet more dinamic adding an automatic refresh (in minutes).
Select topics in categories¶
The categories of the topics to count.
Select topics in statuses¶
The statuses of the topics to count. With Exclude selected statuses? the topics in any other status are counted.
Select or type the grouping field¶
The field of the topics that makes the rows.
Select or type the column field¶
The field of the topics that makes the columns.
Show totals row?¶
Adds the totals of each row and each column.
Advanced JSON/MongoDB condition for filter¶
A MongoDB condition to filter the topics, in JSON.