Widgets
Build charts, numbers and tables: choose the data, pick the visual, style it and add drill down.
For: Admins and developers Where: A report → Edit → Add widget
The widget editor
Choose Add widget on a report’s blue Edit bar (or the pencil on a widget, in Edit). The editor has two tabs, Data and visual and Style, and a live preview that updates as you go. Building has four steps: 1. Data, 2. Visual, 3. Drill down and Name.

1. Data: pick fields, or write SQL
Under How to choose data:
- Pick fields: choose the Connection and Table, then the Category (what goes along the axis), the Values and the Aggregate (Sum, Average, Count). Split into series by draws one line or bar per value of a column. PlexBI writes the SQL for you and shows it under Generated SQL.
- Write SQL: type any read-only query in SQL query. The first column is usually the category, and the next columns are numbers.
SELECT region AS Region, SUM(revenue) AS Revenue
FROM sales
GROUP BY region
ORDER BY Revenue DESC2. Visual
Pick a chart or report type. Each one says what data it needs. Not sure which? See Charts and reports in Help, which has a live example of every type.
- For a Number, set Format (Number, Currency or Percent), Currency and Decimals.
- Add a Trend query (optional) that returns a period and a value, oldest first. It adds a small line and the change from the previous period, for example “↗ 43.2% vs Oct 2026”.
- Set a Target (optional) to show how far above or below it the number is, and Good when the number is Higher (sales) or Lower (costs).
- Compare with The previous period or The same period last year. This needs a date range filter on the report.
3. Drill down
Let people click a bar or slice to see the next level, for example region, then product. Add a level and write its query using {drill1} for the value clicked. A Records query (optional) shows the rows behind a point.
SELECT product AS Product, SUM(revenue) AS Revenue
FROM sales
WHERE region = {drill1}
GROUP BY productIn Edit, the blue bar’s ⋯ menu has Add drill down, which suggests levels for every chart on the report at once.
Name and style
Give the widget a Widget title (needed to save). On the Style tab you can change the card, the title, colours, number formats, table columns and colour rules. Each section has its own Reset.
- Information: a note for viewers, shown behind an ⓘ next to the title or as a line under it, with an optional picture. Web addresses become links. Notes are printed under the title in PDFs and emails.
- Trend (numbers): change the “vs Oct 2026” words with Compare text, and set Last period to “Still running” when the latest month is not finished, so viewers see “so far”.
- Apply to same type or Apply to all on dashboard copies the look to other widgets in one go. Each widget keeps its own information note.

Using a widget on the report
- Point at the change on a number (or tap it on a phone) to see both periods and the difference.
- Click a bar or slice to filter the other widgets by it (“Filtered by chart click”); clear it with ✕.
- The buttons on each widget show it as a table, download it as an image or CSV, or expand it to full screen.

Example
SELECT SUM(revenue) FROM sales WHERE …, visual Number, Format Currency USD, no decimals, and a trend query of revenue by month. The card shows $425,048 USD ↗ 43.2% vs Oct 2026, and pointing at the change shows October’s $296,752.