Showcase / Reports from Saved Views

Live data - Views

Ask your data a question. Put the answer on a page.

A Saved View is a question you ask a collection once - "how many products per category, and what do they cost?" - and then show anywhere. The two reports below read the same 24 demo products as the catalogue, and update the moment a product changes.

A hand-drawn line graph with a ruler and pens
Free, no database neededViews run on ordinary file storage. With MongoDB they run as native database queries instead.
Report 1 - group and total

ACME range by category (demo)

How many products each category has, the cheapest and dearest, and the total of their list prices. Click a column heading to sort.

1

Group rows

By category, counting the products and working out the lowest, highest and total price.

2

Order rows

Most products first, then by category name.

3

Reshape fields

Give the columns readable names - Cheapest (£) rather than cheapest.

Report 2 - filter and sort

Cordless under £150 (demo)

Only the cordless tools priced at £150 or less, cheapest first. The same view, shown as cards this time - a view can use any of the eight collection looks.

Volt 18 Random Orbit Sander

sku: PT-1820

price: 119

rating: 4.3

availability: Low stock

Volt 18 Impact Driver

sku: PT-1804

price: 139

rating: 4.6

availability: In stock

Volt 18 Combi Drill

sku: PT-1801

price: 149

rating: 4.7

availability: In stock

[view slug="acme-range-by-category" display="table" /]
[view slug="acme-cordless-under-150" display="cards" columns="3" title-field="name" /]
How it is made

Built in Data > Views, one step at a time.

Pick the collection, then add steps as cards: Filter rows, Group and total, Join a collection, Compute fields, Order rows and more. A live Results tab runs your unsaved view as you go, so you see the answer before you save.

The Access tab decides who may read it: everyone, chosen roles, or each signed-in person seeing only their own rows.

  • Totals, averages, minimums and maximums per group
  • Joins across collections - orders with their customers, jobs with their applications
  • Right-click a step to move, copy or delete it, or run the view up to that step
  • Shown with [view] in any of the eight looks, with search and paging if you want them
  • Also a JSON endpoint, under the same access rules
Keep going

From spreadsheet to live report.

Import your data into a collection, build the view once, and the report on your site keeps itself up to date.