Example representation: Workbook with a table (Beta)

View as Markdown

This documentation describes one or more private beta features that are in development. Beta features are subject to quick, iterative changes; therefore the current user experience in the Sigma service can differ from the information provided in this page.

This page should not be considered official published documentation until Sigma removes this notice and the beta flag on the corresponding feature(s) in the Sigma service. For the full beta feature disclaimer, see Beta features.

If you are interested in joining a limited test group and enabling this feature in your Sigma organization, contact Support or reach out to your Account Executive.

This is an example representation of a workbook, created using the get a workbook representation endpoint. Representations like this one can be used to create a workbook from code using the create a workbook from a representation endpoint. Each page in this example library includes the code representation of the workbook and step-by-step instructions to create it in the Sigma UI.

Consult this example and others in the Workbook representation example library to:

  • Troubleshoot the formatting of a particular feature in code representation
  • Relate a feature from the Sigma UI to its representation in code
  • Provide context to AI tools used to create workbooks from code

This example representation cannot be used as-is. All identifying details, such as IDs, names, and URLs, have been replaced with randomized ID values or generic substitutions. The format of these contents, like the length of ID values, is preserved for demonstrative purposes. However, this representation cannot be directly used without modification to the base URL, connection details, and more. For more information, see Create and manage workbooks from code.

System and user requirements

To complete the steps in this example, you must meet the user requirements listed below for creating the workbook in the UI and creating it from code.

The ability to create this workbook in the Sigma UI requires the following:

  • You must be assigned an account type with the Create, edit, and publish workbooks permission enabled.
  • You must have access to a connection to a data platform.

The ability to create a workbook from code requires the following:

This example uses a table from the Sigma Sample Connection. Your organization might have disabled access to the Sigma sample connection. If so, you can contact an admin to enable it, or use a table from another connection to follow along with this example.

Create the example workbook in the Sigma UI

This example shows a simple workbook with a single table element, sourced from a warehouse table.

To create this workbook in the Sigma UI:

  1. Go to the Home page.

  2. Select Create new > Workbook.

    A new workbook opens.

  3. From the Add element bar, select Data > Table.

  4. In the Select source modal, search for the table TRIP in the EXAMPLES.BIKES schema.

  5. Select the table to add it to the workbook.

    The table appears in the workbook.

  6. In the document header, select Save as.

  7. Enter a name for the workbook.

  8. Select Save.

Get a code representation of this workbook

1workbookId: 3bbd514a-0509-4f34-950b-63b6e8341173
2name: table
3url: https://aws-api.sigmacomputing.com/org-name/workbook/table-1JyjjY570FYdJ87nXpFOkZ
4documentVersion: 1
5latestDocumentVersion: 1
6ownerId: IaYwubYCIBXp9gO8BswaUtcHqxc0b
7folderId: d82c1201-67bb-40a2-896f-52fea951b651
8createdBy: IaYwubYCIBXp9gO8BswaUtcHqxc0b
9updatedBy: IaYwubYCIBXp9gO8BswaUtcHqxc0b
10createdAt: '2026-04-20T20:09:51.815Z'
11updatedAt: '2026-04-20T20:09:51.815Z'
12document:
13 schemaVersion: 1
14 elements:
15 - id: IyOnxXMATd
16 kind: table
17 source:
18 connectionId: 709342a2-de05-41f5-be61-44e81f753327
19 kind: warehouse-table
20 path:
21 - FUN
22 - BIKES
23 - TRIP
24 columns:
25 - id: Uekf32cBbh
26 formula: '[TRIP/Id]'
27 - id: cgR7KCcLHB
28 formula: '[TRIP/Duration]'
29 - id: l3JvvF5wni
30 formula: '[TRIP/Start Date]'
31 - id: 8RmXkyn0dN
32 formula: '[TRIP/Start Station Name]'
33 - id: c6d9css7l7
34 formula: '[TRIP/Start Station Id]'
35 - id: fBi5UaDdL9
36 formula: '[TRIP/End Date]'
37 - id: vHG8857Q3E
38 formula: '[TRIP/End Station Name]'
39 - id: XgHM9vJHfV
40 formula: '[TRIP/End Station Id]'
41 - id: zvCm1EHqww
42 formula: '[TRIP/Bike Id]'
43 - id: MqjBwdGFqM
44 formula: '[TRIP/Subscription Type]'
45 - id: AvvznaTGOA
46 formula: '[TRIP/Zip Code]'
47 order:
48 - Uekf32cBbh
49 - cgR7KCcLHB
50 - l3JvvF5wni
51 - 8RmXkyn0dN
52 - c6d9css7l7
53 - fBi5UaDdL9
54 - vHG8857Q3E
55 - XgHM9vJHfV
56 - zvCm1EHqww
57 - MqjBwdGFqM
58 - AvvznaTGOA
59 pages:
60 - id: jtiR5kxZJ2
61 name: Page 1
62 kind: workbook
63 layout: |
64 <?xml version="1.0" encoding="utf-8"?>
65 <Page type="grid" gridTemplateColumns="repeat(24, 1fr)" gridTemplateRows="auto" id="jtiR5kxZJ2">
66 <Element elementId="IyOnxXMATd" gridColumn="1 / 25" gridRow="1 / 21"/>
67 </Page>

Representing tables

1...
2id: IyOnxXMATd
3kind: table
4source:
5 connectionId: 709342a2-de05-41f5-be61-44e81f753327
6 kind: warehouse-table
7 path:
8 - FUN
9 - BIKES
10 - TRIP
11columns:
12- id: Uekf32cBbh
13 formula: '[TRIP/Id]'
14- id: cgR7KCcLHB
15 formula: '[TRIP/Duration]'
16- id: l3JvvF5wni
17 formula: '[TRIP/Start Date]'
18- id: 8RmXkyn0dN
19 formula: '[TRIP/Start Station Name]'
20- id: c6d9css7l7
21 formula: '[TRIP/Start Station Id]'
22- id: fBi5UaDdL9
23 formula: '[TRIP/End Date]'
24- id: vHG8857Q3E
25 formula: '[TRIP/End Station Name]'
26- id: XgHM9vJHfV
27 formula: '[TRIP/End Station Id]'
28- id: zvCm1EHqww
29 formula: '[TRIP/Bike Id]'
30- id: MqjBwdGFqM
31 formula: '[TRIP/Subscription Type]'
32- id: AvvznaTGOA
33 formula: '[TRIP/Zip Code]'
34order:
35- Uekf32cBbh
36- cgR7KCcLHB
37- l3JvvF5wni
38- 8RmXkyn0dN
39- c6d9css7l7
40- fBi5UaDdL9
41- vHG8857Q3E
42- XgHM9vJHfV
43- zvCm1EHqww
44- MqjBwdGFqM
45- AvvznaTGOA
46...