Antichaos extensions

Clause

Dashboard extension · Dashboard controls

Clause - a sentence on the dashboard in which viewers change parameters inline: click a word to roll, unfold or swap its value

A sentence such as "Active users by Country" in which viewers change each parameter inside the sentence: the value rolls to the next one, the choices open inline, or the line flips to a row of values.

Clause

A sentence on your dashboard in which viewers change the parameters themselves.

Write {Metric} by {Breakdown} and Clause shows it as Active users by Audience name, where each underlined value is a parameter. A viewer clicks a value and changes it right there in the sentence. No dropdown, no parameter control next to the chart: the title is the control.

It works well as a chart title ("New users by Country for 2026"), as a question the dashboard answers, or as a compact replacement for a row of parameter controls.


Before you start

You need:

  • Tableau Desktop, Tableau Server or Tableau Cloud, 2021.4 or newer.
  • One or more parameters in the workbook. Parameters with a list of values (and True/False parameters) can be changed in the sentence. Any other kind of parameter (a range, or a free-text box) just shows its current value.
  • Worksheets that use those parameters (in a calculation, a filter or a title), so a change shows up in the charts.

Add Clause to a dashboard

  1. Open the dashboard. From the Objects pane, drag an Extension onto it.
  2. Choose Access Local Extensions or My Extensions, and add https://extensions.byantichaos.com/Clause/clause.trex.
  3. Allow the extension when Tableau asks. The settings dialog opens by itself.

A wide, short object works best, for example the full width above a chart and about 50 pixels high. Clause sets the sentence smaller when it does not fit, so you never lose the end of it.


Write the sentence

On the Sentence tab:

  • Type your sentence. Put a parameter's name in curly brackets where viewers can change it: {Metric} by {Breakdown}.
  • Or click a parameter under Parameters to insert it where the cursor is.
  • The Preview shows the sentence with today's values.

Change the case of what is shown with |lower, |upper or |title: Showing {Metric|lower} per {Breakdown|lower} reads Showing active users per country. This only changes what is shown, never the value the parameter gets.

You can use the same parameter twice; both places always show the same value. A line break in the sentence is kept.


Choose how viewers change a value

On the Style tab, under When a viewer clicks a value:

Style What a click does Good for
Roll The value rolls to the next one, like an odometer. Shift+click goes back; the mouse wheel and the arrow keys work too. Two to five values, and switches like True/False.
Unfold The other values open in the sentence, right where the word is: Active users / New users / Returning users. A handful of short values.
Swap The sentence flips over to a row of the values, with a tick on the current one. A pick flips it back. Longer lists.

Unfold switches to Swap by itself when the opened sentence would not fit the object.

With Roll, a hint shows on hover: dots for where the value is in its list (a count such as 4/12 for long lists), or a peek at the next value. You can also turn it off.

Each click sets the parameter once. Quick clicks in Roll settle on the last value and set it once, so the dashboard does not recalculate for every step.


Make it look right

  • Quick look: one click for Even, Values stand out (grey words, bold values) or Colored values. It fills in the weight and color fields below it; change them as you like.
  • Font: the workbook's own font, Tableau's fonts (Tableau Book, Tableau Bold and the other weights, Benton Sans), popular web fonts (Inter, Roboto, Lato, Montserrat, Playfair Display and more) or common system fonts.
  • Text size: a maximum; a sentence that does not fit is set smaller.
  • Words and values each have their own weight and color.
  • Value look: an underline (dashed, dotted, solid or none), a soft pill, or a marker highlight. The accent color is used for it and for the small caret.
  • Align left, center or right, and top, middle or bottom, and a background color.

Good to know

  • Clause never opens a menu outside its own object. A Tableau extension cannot draw outside its object, so every choice happens inside the sentence.
  • A parameter name that does not exist is shown in red while you are authoring, and as the plain word to viewers.
  • In an image or PDF export Clause shows the sentence with the current values.
  • Clause is free: every option, no badge, no time limit.

Questions or ideas? Get in touch.

How to use it

Add it to a dashboard from the Objects pane (Extension), then open its Configure dialog. Every setting has a short explanation next to it in the dialog. The Getting started page walks through the first add.

What's new

2026-09-19

All changes: changelog · Atom feed

Version 1.0.1 · Manifest: https://extensions.byantichaos.com/Clause/clause.trex · What it reads and sends