Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Entity types represent real-world concepts such as Truck, Sensor, or Customer. They define standard names, descriptions, identifiers, and properties to ensure consistency across data sources and tools. By modeling your domain with entity types, you eliminate inconsistent column-level definitions and create a shared semantic layer that powers downstream experiences like analytics and AI agents. You can create entity types manually or import them from existing business logic in semantic models.
Important
This feature is in preview.
Prerequisites
Before creating entity types, make sure you have the following prerequisites:
- A Fabric workspace with a Microsoft Fabric-enabled capacity.
- Ontology item (preview) enabled on your Fabric tenant.
- An ontology (preview) item.
- Understanding of core ontology concepts.
- Understanding of the data binding process from Data binding.
Key concepts
Entity types use the following ontology (preview) concepts. For definitions of these terms, see the Ontology (preview) glossary.
- Entity type
- Entity type key
- Entity instance
- Property
- Data binding
Create an entity type
Follow these steps to create entity types in your ontology (preview) item.
From the Home configuration canvas, select Add entity type from the top ribbon or the center of the canvas.
Enter a name for your entity type, and select Add Entity Type.
Note
Entity type names must be 1–26 characters, contain only alphanumeric characters, hyphens, and underscores, and start and end with an alphanumeric character.
The configuration canvas displays your new entity type.
Add properties
This section shows how to create properties on entity types without binding data to them (the properties remain unbound until you add data bindings for them later). It's also possible to add properties while binding data in a single operation, which is described in Data binding.
Select the entity type name in the Explorer and select View entity type details from the top ribbon.
The Configure page opens. This page surfaces important information about the entity type, including its properties and data bindings. Expand Manage property bindings and select Add properties.
Add a name and property type for each property. Select Save to view the saved properties in the Properties pane.
Note
Property names can only be duplicated across entities for properties of the same type. For example, you can't have one entity type with a string
IDproperty and another entity type with an integerIDproperty, but you can have two entity types that both have a stringIDproperty.The properties are added to the Configure page, unbound to any data source.
Optionally, select a property to use as the display name property for instances of this entity type in downstream experiences.
To make the entity type operational, bind data to it.
Edit or delete an entity type
To delete an entity type from in your ontology (preview) item, go to the Home configuration canvas. Next to the entity type name in the Explorer, select ... > Delete entity type.
To edit details of the entity type, select View Entity type details from the top ribbon to open the Configure page.
From this page, you can add, rename, and delete properties, and rename or delete the entity type itself.
Deleting a property removes it from the entity everywhere it's configured, including entity type key and relationship type configurations.
Note
Any updates in upstream data sources (like new rows) need to be manually refreshed before they're visible in the ontology item. For more information, see refresh the graph model.
Supported property types
The following table lists the supported property types for data that can be bound to properties in ontology (preview).
| Ontology property value type | Supported Lakehouse types | Supported Eventhouse types |
|---|---|---|
| integer | tinyint, smallint, bigint, integer, long, short | int, long |
| boolean | boolean | bool |
| datetime | datetime, date, timestamp | datetime |
| double | double, decimal, float | decimal, real |
| string | char, decimal(p, s), string, array, binary, binary16, byte, map, object, struct, timestampint64, timestamp_ntz | dynamic, string, guid, timespan |
The following table shows supported source column value types that can be used for the timestamp selection in a time series binding.
| Ontology configuration | Lakehouse and Eventhouse source column value type |
|---|---|
| Timestamp | datetime, date, timestamp |
The following table shows supported property types that can be used as the entity type key.
| Ontology configuration | Ontology property value type |
|---|---|
| Entity type key | string, integer |
If your data contains other data types, perform ETL to convert the data to one of the supported types before bringing the data to ontology.