Build / Widgets
Create a classic widget
This page walks through the widget editor for classic widgets: charts, tables, numbers and content you configure without code. For widgets written in SQL, see Query Widgets.
Open the widget editor
Section titled “Open the widget editor”You need the Staff or Admin role and permission to edit the dashboard.
- Open the dashboard and click Edit in the Canvas Frame.
- Click + Widget.
- Under How would you like to build this widget?, choose Classic Widget.
- Pick a type under Data Visualizations or Content Widgets. Chart types explains each one.
To change a widget that already exists, point at it, open the widget actions menu (⋮), and choose Edit Widget. You don’t have to put the dashboard into edit mode first.
+ Widget is turned off when your company has reached its plan’s widget limit. Point at it to see the limit.
How the editor is laid out
Section titled “How the editor is laid out”| Area | What it holds |
|---|---|
| Left panel | Widget Settings, then the Data Layers list. Add a layer with +, drag layers to reorder them, and use each layer’s buttons to duplicate or delete it. |
| Center | A live preview of the widget. |
| Right panel | The settings for whatever is selected on the left. |
With Widget Settings selected, the right panel has three tabs:
| Tab | What’s on it | Covered in |
|---|---|---|
| General | Title, Description, Show Title, No Data Message, and the settings for Button, Image, External Website and Static Value widgets | Below and Chart types |
| Style | Legend and labels, axes, colors, number formatting, thresholds, and gauge and pie options | Styling and thresholds |
| Data | Time increment, timezone, grouping, sorting, limits, comparisons, and Table and Matrix options | Calculations and Chart types |
With a data layer selected, the right panel shows Data Layer Settings with the tabs Data, Filter and Format. Filter and Format appear once the layer has a dataset.
General settings
Section titled “General settings”| Setting | What it does |
|---|---|
| Title | The widget’s name on the dashboard. |
| Description | Optional Markdown. Viewers open it from the info icon in the widget’s header. |
| Show Title | Shows or hides the title. |
| No Data Message | The text shown when the widget has no data, up to 255 characters. It defaults to No Data. Number widgets don’t have this setting and show 0. |
If the No Data Message is a number, it’s formatted like the widget’s values. With $ Prefix on, a message of 0 shows as $0.
Add data to a layer
Section titled “Add data to a layer”Every data widget has at least one data layer. Each layer reads one dataset and calculates one set of values.
- Select the layer in the left panel.
- On the Data tab, search Dataset and pick one. Turn on Favorites Only to list only your favorite datasets.
- Enter a Layer Name.
- For widgets that calculate a value, choose a Function under Function & Axis. If it needs a column, choose it in the On box. For Dynamic Value, choose a Value Column instead. A Table shows the layer’s rows without a function.
- For charts that group values, choose an X Axis column.
Classic widgets read Datasets, Stashes, Modified Datasets and Joined Datasets. Stashes show (Manual) in the list, and sample datasets show (Read-only). To read a Query Dataset, build a Query Widget.
Calculations covers every function, X axis delimiters, and how many layers each type allows.
Filter a layer
Section titled “Filter a layer”The Filter tab limits which rows the layer uses.
| Setting | What it does |
|---|---|
| Filter | Opens the filter builder. See Filtering data. Click Done to apply it. |
| Percentage Filter | Shown when the function is Percentage. Sets which rows count toward the percentage. See Calculations. |
| Date Filter Column (optional) | The column the dashboard date filter applies to for this layer. |
| Use X Axis in Dashboard Date Filter | Shown when the X axis is a date column. Uses the X axis for the dashboard date filter instead. |
See Date filters for how the dashboard date filter works.
Set up drilldown
Section titled “Set up drilldown”Clicking a chart point, bar or slice opens a drilldown table of the rows behind it. The Drilldown group on the Filter tab controls that table.
| Setting | What it does |
|---|---|
| Sort Drilldown Data and Sort Ascending | The column the drilldown rows sort by, and the direction. |
| Limit Drilldown Data | The most rows the drilldown shows. |
| Limit Post-Filter Row Count | Keeps only this many rows after the layer’s filter, before the layer calculates. |
| Select Drill-Down Columns | Chooses which columns the drilldown shows. |
| Copy Columns | Copies the column choice from another layer on this dashboard that uses the same dataset. |
| Drilldown to Dashboard | Opens another dashboard instead of the drilldown table. |
| Drilldown Filter Variable | Shown with Drilldown to Dashboard. Sets this Filter Variable on the target dashboard to the value that was clicked. |
Table widgets don’t drill down on click unless you turn on Enable Drilldown on the Data tab. Drilldown only works on a saved dashboard, not while you’re editing it.
Format a layer
Section titled “Format a layer”The Format tab sets how this layer’s values look.
| Setting | What it does | Shown on |
|---|---|---|
| Color | Turn off Use default to pick this layer’s color. Hidden while the widget uses threshold colors. | Widgets with colors |
| % Suffix and $ Prefix | Inherit, On or Off. Overrides the widget’s setting for this layer. | Bar and line charts |
| Columns with Percent Suffix and Columns with Dollar Prefix | Adds % or $ to the columns you pick. |
Data widgets except Matrix |
Preview and save
Section titled “Preview and save”The preview refreshes on its own as you change settings. To refresh it yourself, click Preview or press ⌘ Enter / Ctrl Enter.
Preview stays off until every data layer has a dataset and a valid filter. Content widgets that don’t read a dataset, such as Static Value, Image, External Website and Button, preview right away.
Click Save & Close or press ⌘ S / Ctrl S. A new widget appears on the dashboard, where you can drag and resize it.
Change the widget type
Section titled “Change the widget type”Click Change Widget Type at the bottom of Widget Settings and pick another classic type. Your data layers stay. If a layer has an X axis the new type can’t use, it shows Unused X axis. Click Remove X axis to clear it.
Troubleshooting
Section titled “Troubleshooting”The widget shows no data. Check that the dataset has rows and that the layer’s filter isn’t excluding all of them. To show something other than No Data, change the No Data Message.
The numbers look wrong. Check the layer’s Function and the column in On, then the X Axis. See Calculations.
Preview or Save & Close is turned off. A required setting is missing. Check that every data layer has a dataset, that the function has its column, and that no filter refers to a column the dataset doesn’t have. The error under Filter names that column.