QuackUIInstall

Creating a model

Draft one from your files, review what was inferred, and save it.

A model is what reports are built from. It says which tables hold facts, what can be measured, what can be grouped by, and how tables join.

Draft it

Admins open File › New › New model and choose one or more sources. QuackUI drafts the whole model from their catalogs and statistics. The same files always give the same draft.

The draft document listing items to check

Review it

Each item is sure or unsure, with a reason. Unsure ones are listed first under To check.

  1. Press F8 or Next to check.
  2. Read the reason.
  3. Choose Looks right, or change the item in Properties, or remove it.
  4. Repeat until the status bar says nothing is left, then save.
An unsure join with its reason and its properties

The API enforces the review as well, so a script can’t save an unreviewed model.

What to look at hardest

  • Joins found by name. Two columns called region_id may not mean the same thing.
  • Averages. Averaging a unit price gives the mean over order lines, not a weighted price. If you want the weighted one, add a calculation.
  • Semi-additive measures. Check that stock-like measures name the right date.
  • Numbers that are really labels. Make them dimensions.

Add what’s missing

Add your own dimensions, measures, joins, hierarchies and calculations. A hierarchy lists dimensions from coarse to fine and gives readers a drill path.

Editing the Retail model with a measure selected

Who can use it

A new model is for admins only. Open its Permissions and grant groups use. See Folders and permissions.

Model permissions