Viewing and Charting a Query
The View button above every query opens one window that sets how the query is drawn: as a table, as tiles or as a chart. The button's icon and tooltip show the current view. The Share menu beside it exports and sends the result. See Sharing a Query.
The View Window
Open a query and click View. The window is titled View.

| Part | Where | What it does |
|---|---|---|
| Kinds of view | Across the top | Tables, Charts, Timelines and Trends, Distribution and Maps and Diagrams |
| Type strip | Under the kinds | One tile per type of the chosen kind, each with a small drawing of the type |
| Draft | Center | The chosen type drawn from the current result |
| Showing | Left | What each bar, slice or point measures |
| Calculate | Left, under Showing | A quick calculation or your own formula on the Showing measure |
| Split by | Right | A second column that splits each bar or line into series |
| Across | Under the draft | The column along the axis, and how it is grouped |
| Reset, Save..., Cancel, Done | Footer | Go back to the saved query, save a copy, discard, or keep |
Each change redraws the draft. Drag the title bar to move the window, and drag its bottom corner to resize it. The browser remembers the position and size. Double-click the title bar to put the window back to its default place.
Choosing a Type
Click a kind of view along the top to show its types. Each type belongs to one kind:
| Kind | Type | Draws |
|---|---|---|
| Tables | Table | The grid. Select Grouped to group it by the query's tree, and Totals for a total row. See Totals and Grouped Totals. |
| Tiles | A card for each record | |
| Pivot table | Rows by columns with totals, as in a spreadsheet pivot table. See Pivot Tables. | |
| Charts | Column | Upright bars |
| Bar | Bars across | |
| Ranked bar | The 10 largest bars, largest first, then Others. Click Others to expand it. | |
| Diverging bar | Bars either side of zero, such as gains and losses | |
| Bullet | A bar for Showing and a mark for Against, with the gap written beside it, such as "12 over" | |
| Pie | Slices of one whole. Select Ring for a hole in the middle, and Slanted to tilt it into an oval. | |
| Treemap | Each group as a rectangle sized by its value. A Split by nests the series inside each group. | |
| Pareto | Columns largest first, with a line for the running share of the total and a dashed line at 80% | |
| Timelines and Trends | Line | Values over time |
| Area | A line with the area below it filled | |
| Calendar | The records on the dates they fall. See Calendar View. | |
| Range bar | Each record as a bar from one date to another, soonest ending first, with a line at today | |
| Roll forward | Opening value, each movement and closing value. Accounting queries only. | |
| Distribution | Histogram | Touching bars over number bands or dates, such as hardware age |
| Scatter | Each record as a dot, one number across and another up | |
| Maps and Diagrams | Diagram | Boxes and links. A query with relationships, a location hierarchy or IP addresses draws those. With an Across, each group is a box with its value. |
| Flow | Bands from each Across value to each Split by value, as wide as the value | |
| Map | Each location with its count, placed by the location's map coordinates. See Maps. |
The window opens on the kind of the view on screen. A dot marks that kind.
A type that does not fit the data is grayed out. The reason shows under the tile and on hover. A kind with no type that fits is grayed too, and it still opens to show the reasons. Examples:
- Pie, Diagram and Map gray out with a Split by, because each draws one series.
- Pivot table and Flow without a Split by: "needs a Split by"
- Diverging bar on dates: "needs a category or number column"
- Range bar on a query with one date column: "needs two date columns"
- Grouped on a query with no tree is grayed.
Scatter and Range bar draw the query's records. Choose their columns in the lists under the chart: Across, Up and Colour by for a scatter, From and To for a range bar. The browser remembers the choice for each query. Click a dot or a bar to open its record. A scatter draws at most 5,000 records and a range bar as many rows as fit, up to 300. A note under the chart gives the number left out.
Bullet adds an Against list under Showing. Set Showing to Total Renewal Cost and Against to Total Amount. Each row then shows the renewal cost against the purchase cost.
The type that fits the data best is marked "best".
The type you choose stays when you change Across, Showing, Calculate or Split by. When a change rules the type out, the window picks one that fits. A line above the chart names both types and gives the reason. Click Undo on that line to go back. A Pie given a Split by changes to Column, because a pie shows one series.
Tiles and Calendar show each record, so Across, Showing and Split by are grayed for them. Table counts records, so Showing is grayed for it. To total or average a column, choose Pivot table or a chart.
Across, Showing and Split by
Across lists As the query is set up, then the query's own columns under Dates, Names and Numbers. More dates and More numbers add other columns from the same table.
- A date column offers Day, Week, Month, Quarter, Year and Age. Month is the default.
- A number column takes band edges, typed as a list such as
500, 1000, 5000.
Showing is Count of records by default. It also offers the total or the average of a number column.
Split by takes a names column. Column, Bar, Ranked bar, Histogram and Area stack the series. Line draws one line per series. A split shows up to 8 series, plus Others in gray.
On a date Across with no Split by, a list under Across adds a comparison: No comparison, Previous period or Previous year. The previous value is drawn as a gray ghost bar or a dashed line. Show data adds the previous value, the variance and the variance %.
Pivot Tables
Choose Tables > Pivot table. The lists change their names:
| List | In a pivot table |
|---|---|
| Across | Rows: the values down the side |
| Split by | Columns: the values across the top, up to 8 plus Others |
| Showing | Values: one or more figures in each cell |
A Fields list on the right shows the query's columns under Dates, Names and Numbers. Drag a field to Rows, Columns or Values:
- Rows takes a date, a name or a number column.
- Columns takes a names column.
- Values takes Count of records or a number column. A number column gives its total. On an accounting query Values also takes the Money figures.

The lists do the same by keyboard. Add a value... under Values adds a figure, and the × on a value removes it. A pivot table shows up to 6 values. With two or more, each column has a sub-column per value. Swap rows and columns changes them over when both are names columns.
The bottom row and the right-hand column give the totals. Counts and totals are added up. Averages have no total. Select Shade to color each cell by its size, one value at a time. Click a cell to list its records.
Set Rows to Category Group and Columns to Location. Add Count of records and Total Amount to Values. Each location then has a Count column and a Sum of Amount column.
Calculate
Calculate changes the Showing measure:
| Choice | Gives |
|---|---|
| As it is | The measure unchanged |
| Share of total | Each value as a percentage of the total |
| Share within each group | Each series as a percentage of its bar. It needs a Split by. |
| Running total | The values added up in chart order |
| Rank | 1 for the largest value |
| Change from previous | The difference from the previous period or bar |
| Change from previous (percent) | The same difference as a percentage |
| Your own formula... | A text box for a formula. Press Enter to apply it. |
A formula combines totals of the query's number columns: count(), sum(Field), avg(Field), min(Field) and max(Field). It can use + - * /, brackets, round, abs, if and coalesce. It can also use the functions behind the quick calculations: percentoftotal, percentofgroup, runningtotal, previous and rank. Name the result with as. With Across set to Date Purchased by Year, sum(Amount) / count() as Cost per asset gives the average cost per asset for each year.
A field outside a total is refused with a message. So are text values and unknown functions. Division by zero gives an empty value.
Done, Cancel and Reset
- Done keeps the view for this query on screen.
- Cancel, or Escape, puts back the view the query had when the window opened.
- Reset goes back to the saved query's own levels.
None of these changes the saved query. To make a view the default for everyone, set the presentation on the query's levels. See Query Columns and Display.
Saving a Chart
Save... opens a name box in the footer. The default name is "query: showing by across". Press Enter or click Save. Back returns without saving.
- The chart is saved as a copy of the query, with the chart settings in it. The copy is pinned for you.
- Opening the copy draws the chart as you saved it. Clicks and Drill Up work as on the original.
- Saving again under the same name updates your saved chart. A name that another query already has is refused.
- The copy is an ordinary query. Anyone who can search for queries can find it by name.
Working With the Chart
Click a bar, slice or point to list its records. Click Drill Up to go back up a level. On a split chart, the click lists the records for that bar and that series. Others never drills.
Hover over a chart to show its tools:
- Show data as a table -- the chart's figures as a table, with a column per series.
- Average and target lines -- draws an average line and a target line. The browser remembers them for you and this query.
- PNG and SVG -- download the chart as a picture. Share > Image does the same. Maps and KPI tiles cannot be saved as a picture.

Accounting Queries
On a query of financial transactions or asset values, the window adds:
- Money and Asset values groups in Showing, such as Net book value or Depreciation charge. Balances are marked "(balance)" and are never stacked over time.
- Fin. period, Fin. quarter and Fin. year beside the calendar periods in Across.
- A Roll forward tile. It draws opening value, each movement and closing value, and checks that they tie.
- A chip on the chart that names the book, currency and scenario, such as "Corporate book - USD - Actual".
- An Accounting group in Split by with a money measure. It offers Actual and forecast, Actual and each budget, and pairs of books such as Corporate and Tax books. The forecast is drawn dashed, and a budget is a target line. Books are never added together: they are drawn side by side, and Show data adds the difference.
- On a query of financial transactions, an As now and As posted switch beside the chip. As now groups by the category, cost center, location, department and company each asset holds today. As posted uses the values held on each transaction when it was posted.
Related Articles
- Sharing a Query -- PDF, Excel, Image, Email... and Notifications
- Totals and Grouped Totals -- the Grouped and Totals boxes on Table
- Query Columns and Display -- the default presentation of each level
- Maps -- the map engine and location coordinates
- Calendar View -- the Calendar type in full
- Menu Command Builder -- opening a query in a chosen view from a menu