Skip to content

Bidimensional period query

Counts the selected topics, or adds up one of their fields, by a field and by the day, month or year of a date field: a row for each value of the grouping field and a column for each day, month or year of the period.

The period

The bar above the table has the start and end dates of the period, the last week by default. Choose other dates and press Refresh to load that period.

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 Esc or 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 with a value link to their topics, in a new window.
  • The cells are colored as the legend of the bar shows:
    • Normal: a working day with a value.
    • Weekend: a Saturday or Sunday, unless Exclude Weekends? is checked. Only the columns of days fall on a weekend, not the months or years.
    • Holiday: a day of the bank holidays resource.
    • Leave: a day of leave of the row, from the vacation topics.
    • Work free day: a weekend, holiday or day of leave with a value.
  • With Show totals row? the table adds a Total column with the sum of each row, green when it is not zero, 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 the group period

Day, month or year: the columns of the period.

Resource Filter

The resources that make the rows.

Select or type the column date field

The date field of the topics that places them in a column of the period.

Select or type the data field (blank for number of topics)

The numeric field of the topics to add up in each cell. When blank, the cells count the topics.

Exclude Weekends?

Does not mark the Saturdays and Sundays as weekend.

Show totals row?

Adds the totals of each row and each column.

Vacation category, resource field, range start field and range end field

The category of the vacation topics, their field with the resource on leave, and their fields with the first and last day of the leave.

Bank Holidays CI, field and subfield

The resource with the bank holidays and its field and subfield with their dates.

Advanced JSON/MongoDB condition for filter

A MongoDB condition to filter the topics, in JSON.