Antichaos extensions

Lattice

Let the viewer build the table.

This page is a complete guide: from an empty dashboard to a table your viewers compose themselves. No coding. For the short version of what Lattice is, see the product page.


What you will build

A table with a Columns row above it and a Filters panel beside it. Viewers add columns from the fields you released, add filter cards for the fields you allowed, sort by clicking a header and export what they see. You decide the limits once, in a dialog.


Before you start

You need Tableau Desktop, Server or Cloud with dashboard extensions enabled, and a workbook with the data source you want to show.

Lattice reads the rows of one sheet on your dashboard. That needs Tableau's full data permission, which Tableau asks each viewer to approve once in Desktop. On Server or Cloud an administrator adds https://extensions.byantichaos.com/ to the safe list with Allow full data access on. The rows stay in the viewer's browser; Lattice sends nothing anywhere.


Step 1 - A helper sheet

Make a small worksheet on the data source you want: one dimension on Rows is enough. Put it on the dashboard, as small as you like - it can sit in a corner or be hidden behind the extension. Lattice reads this sheet's underlying rows, including the fields that are not on the sheet.

Filters you put on this sheet apply to what Lattice reads. A filter card on the dashboard that filters the helper sheet therefore narrows the table too, and Lattice reloads when it changes.


Step 2 - Add Lattice

Drag the Extension object onto the dashboard, choose Access Local Extensions or the extension gallery, and add Lattice from

https://extensions.byantichaos.com/Lattice/lattice.trex

Allow full data access when asked. Lattice opens with a sensible default: the first two text fields as fixed columns, up to five choosable columns, a handful of filter fields.


Step 3 - Configure

Open Configure from the extension's context menu, or the button in the top bar while authoring. The dialog has five tabs: Data source, Table, Columns, Filters and License.

Data source tab

  • Helper sheet - the sheet from step 1. "Automatic" takes the first sheet with a data source.
  • Filter on field and values - a filter Lattice applies to the helper sheet before reading, for instance Brand = Skoda. Leave empty for all rows.
  • Key field - a field that is unique per row (an id). With a key, choosable columns and filter fields are only fetched when a viewer picks them; a wide table then opens fast. Without a key everything loads at the start. The summary line tells you how many fields load either way.

Table tab - the title above the table, whether to show the row count and what to call it, the fixed columns (always on the left, in this order; viewers cannot remove them) and the measures (number fields that are summed per row of the table).

Columns tab - the maximum number of columns a viewer may add (0 to 20) and the choosable columns: what viewers can pick as column 1, 2, 3. Grouped by type; a search box and all/none per group.

Filters tab - the fields viewers may filter on. Below the list, tick the ones that should be in the panel from the start, with preselected values if you like (comma-separated). A date field can start with a relative range instead - for instance Last N 30 days, or To date year - and the line under it says which days that covers. Relative dates count from is today by default; pick a fixed date when the data is a snapshot that is not refreshed.

Date format (on the Table tab) - how dates show in the table, the pick lists and the CSV export: dd-mm-yyyy, dd/mm/yyyy, dd.mm.yyyy, mm/dd/yyyy, yyyy-mm-dd or d mmm yyyy. Automatic follows the viewer's language (yyyy-mm-dd in English, dd-mm-yyyy in Dutch). Changing it rewrites preselected dates in the default filters; a viewer's saved link that ticked dates in a pick list needs those ticked again.

License tab - a key is optional; it removes the small badge. One key covers the whole workbook.

Save. The table rebuilds with the new limits; what viewers had chosen stays where it still fits.

Download settings (bottom left) saves the settings as they stand in the dialog to a small .json file - a backup, or something to keep next to the workbook. In Tableau Desktop the file is saved by your normal browser: a tab opens there and the download starts; you can close it afterwards. On Tableau Server and Cloud the dialog saves the file directly. Default settings fills the dialog with the defaults for this data source; nothing changes until you save.


Step 4 - Arrange the default

While authoring, whatever you do to the table is saved as the starting point for viewers: the columns you add, the filters you open, the sort. Set it up the way most viewers want it, then publish. Reset in the top bar returns a viewer to exactly that.


What viewers do

  • Columns - each dropdown above the table is one column; the dashed one adds the next. "- remove -" takes a column away. Drag the grip (⋮) in front of a column to move it; the author's fixed columns stay first. With the keyboard: Tab to the grip, then the arrow keys.
  • Filters - Add filter puts a card in the panel. Each card has a small button to switch its kind: a pick list with counts (the values that remain under the other filters), contains text (a, b = both, -c = not c) or, for dates and numbers, from-to (a date range, or a minimum and a maximum; either side may stay empty). Dates have a fourth kind, relative: This, Previous, Next, Last N, Next N or To date, with a unit from day to year. Whole units count, as in Tableau: Last 3 months in July is May, June and July; weeks start on Sunday in English and on Monday in Dutch.
  • Move a filter - drag the grip (⋮) at the top left of a card up or down, or use the arrow keys.
  • Header filters - every column has the same kinds in its header row.
  • Sort - click a header; again for the other direction.
  • Show more - the table shows 500 rows at a time.
  • Export CSV - downloads the table as shown, semicolon-separated, with the field names.

Tips

  • Copy to another dashboard. The configuration names fields, not a data source. On a dashboard with another source the dialog lists the fields it does not know and drops them on save.
  • Two tables on one dashboard have two configurations; copy-paste a tile and the copy starts with the original's settings.
  • Big data. Tableau hands rows over in pages of 10,000 and caps a read at about 32 million cells. Use the source filter and the key field to keep the first load small; a few hundred thousand rows of a dozen fields is comfortable.
  • Dutch. Lattice follows Tableau's language: viewers on a Dutch Tableau see Dutch copy and, unless you picked a date format, dd-mm-yyyy dates.

Troubleshooting

  • "The dashboard has no sheet with a data source" - add the helper sheet from step 1.
  • A field is missing from the table - it is not in the data source of the helper sheet. Check the dialog's warning line.
  • The table does not reload after a filter change - Lattice only watches filters on the helper sheet. Apply the dashboard filter to that sheet as well.
  • The first load is slow - the engine (about 6 MB over the wire) is fetched once per browser; later loads come from the cache, and Tableau's own query runs while it loads. If the data itself is slow, set a key field so only the fixed columns load at the start.

Lattice overview · Manifest: https://extensions.byantichaos.com/Lattice/lattice.trex