Skip to content
Get started

Views

A view is a stable, named contract over a table. It decides exactly which fields are exposed to downstream consumers and what each one is called.

Views are what make your data consumable. Without a view, a table has no OData entity set and is invisible to Power BI and Power Query.

Field Description Required
Table The table the view reads from Yes
Name The OData entity set name Yes
Description Free text No
Fields The attributes and system fields to expose Yes — at least SourceId

View names and field names must be OData-safe identifiers:

  • Start with a letter.
  • Contain only letters, numbers and underscores.
  • No spaces, dashes or punctuation.
  • View names must be unique across your whole environment.
Field Type Notes
SourceId UUID The OData key. Required in every view and cannot be unticked.
Code string The record’s built-in Code.
Name string The record’s built-in Name.
Version integer Which revision of the record this is.
CreatedAt datetime When this version was created.

Ordinary attributes are exposed as a single field each.

A domain attribute is exposed as up to three separate scalar fields:

Field Contains
{Attribute}SourceId The referenced record’s source_id
{Attribute}Code The referenced record’s Code
{Attribute}Name The referenced record’s Name

For a Counterparty domain attribute you get CounterpartySourceId, CounterpartyCode and CounterpartyName.

  1. Go to Views and click Create View — or create it directly from a table’s overview page, which pre-selects the table for you.

  2. Choose the model and the table.

  3. Give the view a name. It is pre-filled from the table name in OData-safe form.

  4. Tick the fields to expose. SourceId is always included.

  5. Click Create.

Open the view to manage its fields. From here you can:

  • Tick or untick fields.
  • Rename any exposed field. This is the key capability — the published name is independent of the internal attribute name.
  • Reorder fields with the up and down arrows. The order is the column order consumers see.

Save when you are done. The page warns you if you navigate away with unsaved changes.

Deleting a view removes the corresponding OData entity set. Anything consuming it will start failing, so confirm nothing depends on it first.

Because a view name is just a name, the simplest way to make a breaking change safely is to publish a second view:

AccountsView (existing consumers keep using this)
AccountsViewV2 (new shape; migrate consumers over time)

Once nothing uses the old view, delete it.

Each view becomes an OData entity set at /odata/{ViewName}, supporting $select, $filter, $orderby, $top, $skip and $count.

See OData API for the full query surface and for connecting Excel and Power BI.