QuackUIInstall

A model you can check

QuackUI drafts the semantic layer from your DuckDB and Parquet files and shows its reasons. An admin reviews it once, and every report uses the same definitions.

The Retail model, listing each measure, how it aggregates and whether it adds up

Start from the files

Put .duckdb or .parquet files in the data folder or upload them. QuackUI opens each one read-only, with extensions switched off and no access to other files, and records its tables, keys, comments and column statistics. It rescans every ten minutes.

A source: the dim_customer table with column types, keys, approximate distinct counts, ranges and comments
A source document. Comments come from the DuckDB file.

Review what it wasn’t sure of

The draft lists To check items first. Declared foreign keys are marked sure. A join found by matching column names, or a number that looks like an identifier, waits for you, with its reason beside it.

F8 jumps to the next one. Looks right accepts it, or change its label, role or aggregation in Properties.

The draft review: Page events is marked To check because it was found by matching names

What it works out

It sees It proposes
A declared foreign key A many-to-one join, marked sure
A column named like another table’s key, with the same type A join, to check
Numbers on a fact table Summed measures
Prices, rates and percentages Averaged measures, to check
Years, codes, postal codes and ids Dimensions, so nobody sums them
A snapshot-style table Measures that don’t add up over time, to check
Year, quarter, month and date columns A calendar hierarchy
Category and subcategory, where each child has one parent in the data A drill path

Joins across files

A model can use several files, DuckDB and Parquet together. Here web_analytics.duckdb, which declares no foreign keys, joins to the customers, products and dates in retail.duckdb, so sessions and sales can sit in one table.

Joins are checked before you can save. The target must be unique, types must match, and no table may reach another by two routes.

A report combining web sessions with store sales, returns and stock

Versions

Each save makes a new numbered version, and the old ones stay readable. A run records the version it used, so you can explain a figure from last month.

If a file’s structure changes, the model shows needs review and lists the items that no longer resolve. Re-infer changes proposes what is new and keeps the decisions you already made. Reports say why they can’t run and don’t guess.

File › Models: each model with its sources, status, version and how many reports use it

Read more in Creating a model and Joins and measures.