The weekly numbers, from the same data the work runs on.

Reports usually come from an export someone made last Tuesday. In Volvel they read the tables your scripts and apps write, so the numbers are current and nobody copies anything.

One filter, every widget.

The Tech Desk's Lending dashboard opens on the last 90 days. Change it to this term, or to laptops only, and every figure, chart and pivot bound to that filter answers again.

  • A figure says how it compares with the period before, in the desk's own words.
  • A chart can draw the period before as a dashed line under this one.
  • The filters travel in the link, so "send me what you're looking at" works.

Two ways to build the same report.

The Lending dashboard mixes both. Most widgets were built from menus. The last one reads a saved query an analyst wrote, and nobody looking at it can tell the difference.

From menusFrom a saved query
Who builds itAnyone who can read the tablesSomeone given the SQL permission, once
What it can doA table, the tables its references reach, groups by period, and counts, sums, averages, least and mostJoins, CTEs, window functions: anything one SELECT can say
FiltersBound to a columnBound to a parameter by name
Who sees whatTotals of the rows each person may readThe same: each table's rule applies to whoever runs it

A dashboard is a file too.

Build it in the console, then keep it as a resource: reviewed, deployed and promoted like a script. Or keep it as your own page, saved without a deploy, and share it with the workspace when it's ready.

  • Widgets sit on a twelve-column grid, placed by dragging or by numbers.
  • It asks again every 15 minutes while it's on show, or on whatever interval you set.
  • A query renamed later keeps working on the dashboards that use it.
platform/reports/lending.dashboard.yamldashboard
title: Lending
refresh: 15
filters:
  - { name: lent, label: Checked out, type: date_range, default: last_90_days }
  - { name: kind, label: Kind, type: choice, from: { table: devices, column: kind } }
widgets:
  - id: lent
    title: Loans
    type: figure
    at: { x: 0, y: 0, w: 3, h: 4 }
    source:
      visual: { table: loans, measures: [{ fn: count, as: loans }] }
    filters:
      - { filter: lent, column: checked_out_at }
    options:
      compareTo: lent
      trend: { by: checked_out_at }
      caption: "vs {previous} in the period before"

Shortened from examples/higher-ed-devices.

The rest of reporting, handled.

The rows behind a number
Open a line of a table or a cell of a pivot to see the rows it was counted from, when someone asks "which ones?"
Into a spreadsheet
Every widget downloads as CSV or Excel, numbers kept as numbers, for the person who still needs a spreadsheet.
Each person's own numbers
A dashboard runs as whoever is looking. A practice manager sees every clinic; a clinic's lead sees their own.
More than bars
Lines, areas, pies, scatters and heatmaps; tables with bars, changes and coloured chips in their cells; pivots with totals.
Numbers on a schedule
A scheduled script can work out a weekly figure, keep it in a table, and post it where the team will read it.
Inside the apps too
A figure or a chart can sit on an App Builder page next to the buttons that change the numbers.

Stop exporting to find out how the week went.

Dashboards on the tables the work writes, in open-source Volvel.