Newshot

OLAP style reporting on DuckDB files

Original text(via Lobsters)

Drag-and-drop reports on your DuckDB files

QuackUI reads the files, drafts a model for you to check, and gives your team a page to drag fields onto. You host it, and your files are only ever opened read‑only.

The QuackUI report builder: fields on the left, a page with two charts, a crosstab and a table in the middle, and properties on the right
The QuackUI report builder: fields on the left, a page with two charts, a crosstab and a table in the middle, and properties on the right

Drop a field where you want it

Blocks have no separate field wells. You drop onto the table, the chart axis or the crosstab header itself, and a marker shows what will happen before you let go.

Between two columns, or over one

Over a column's edge, a bar shows where the new column goes. Over its middle, the marker names the column you are about to replace. A field that doesn't fit is refused at the pointer, with the reason.

How the builder works

Dragging a field: a thick amber bar between the Store and Net sales columns shows where the new column will go
Dragging a field: a thick amber bar between the Store and Net sales columns shows where the new column will go
Dragging a field over the middle of a column: the column is tinted and labelled Replace Net amount
Dragging a field over the middle of a column: the column is tinted and labelled Replace Net amount

QuackUI drafts the model and you check it

QuackUI reads keys, types and column statistics, then proposes tables, joins, measures and hierarchies. Anything it inferred from a name is marked To check, with the reason. You can't save a model until each of those has been accepted, changed or removed.

It knows that year isn't a number to sum, that a price should be averaged, and that stock on hand adds up across stores and not across weeks.

About models

A drafted model: 17 items to check, each with the reason QuackUI wasn't sure
A drafted model: 17 items to check, each with the reason QuackUI wasn't sure

Four fact tables in one table, and the totals are right

Sessions, sales, returns and stock live in four fact tables across two DuckDB files. QuackUI aggregates each on its own and merges the results, so no figure is multiplied by another table's rows. Totals are computed from the base rows again, so averages and distinct counts total correctly.

One table showing web sessions, net sales, returns and stock on hand by month
One table showing web sessions, net sales, returns and stock on hand by month

How queries work

32 chart types

From columns and lines to sankeys, treemaps and calendar heatmaps. Every chart has a data table behind it for screen readers and keyboard drilling, and series differ by pattern as well as colour.

Stacked area chart of net sales by month and category
Stacked area chart of net sales by month and category
Sankey chart from product category to store type
Sankey chart from product category to store type
Treemap of net sales by category and subcategory
Treemap of net sales by category and subcategory
Heatmap of net sales by month and weekday
Heatmap of net sales by month and weekday
Columns for net sales with a line for cost
Columns for net sales with a line for cost
Chord chart between customer segment and category
Chord chart between customer segment and category

All the charts

Monday's pack sends itself

Schedule a report and QuackUI emails the PDF and workbook, posts them to Slack, or sends the rows to a webhook. Add an alert and it sends only when a number crosses the line you set.

If the run fails or the data is incomplete, the alert says it couldn't be evaluated. It never reports a failure as good news.

Delivery and alerts

A scheduled run whose alert condition was met: six subcategories with stock below 100, and the delivery recorded below
A scheduled run whose alert condition was met: six subcategories with stock below 100, and the delivery recorded below

One report, each manager's own rows

Row security limits which rows each group sees, on the server, for every query, value list, run and export. Here is the same report opened by someone in Finance and by the Scotland manager.

Access and security

My region, opened by a Finance user: all six stores
My region, opened by a Finance user: all six stores
My region, opened by the Scotland manager: Glasgow and Edinburgh only, with a notice that the data is limited
My region, opened by the Scotland manager: Glasgow and Edinburgh only, with a notice that the data is limited

Every feature

  • Report builderDrag and drop, free-form or grid pages, 100 steps of undo, keyboard editing
  • ModelsDrafted from your files, reviewed by you, versioned, joined across files
  • Charts32 types, colour schemes, and the full ECharts option tree when you need it
  • Tables and crosstabsFormats, totals, highlight rules, colour scales, drill
  • Filters and datesPrompts, shareable answers, and periods like “previous month” in a fixed time zone
  • CalculationsA typed formula language for measures and dimensions
  • Tabs and sectionsReport packs with covers, and a page repeated per region
  • Runs and schedulesKept snapshots with their SQL and log, on a cron you choose
  • Delivery and alertsEmail, Slack, signed webhooks, conditions on any number
  • ExportCSV, Excel, PDF and print, with every row
  • Access and securityRoles, groups, folders, row and column security, audit log, single sign-on
  • Automation and agentsScoped API tokens, and browser commands an AI agent can drive

Running in one command

You need Docker. The first start builds the images and generates two sample databases, so there is something to report on before you bring your own files.

Then open localhost:8080 and sign in as [email protected].


        git clone https://github.com/markwylde/quackui.git
cd quackui
QUACKUI_ADMIN_PASSWORD='choose-your-own' docker compose up -d
      

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by Lobsters
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗