Skip to main content

Universe

Universes constitute the basis for the configuration of a new model that we will call universe model. Users can then exploit it, through the Query module and/or Power BI, to generate graphic reports.

Examples

Basic universe

The following example builds a universe called Universe1:

<Universe Identifier="Universe1" DisplayName_L1="Universe 1" >

<EntityInstance Identifier="Directory_User" EntityType="Directory_User" DisplayName_L1="Users" />
<EntityInstance Identifier="Directory_UserRecord" EntityType="Directory_UserRecord" DisplayName_L1="UserRecords" />

<AssociationInstance Association="Directory_UserRecord_User_Records" Instance1="Directory_User" Instance2="Directory_UserRecord" Direction="From1To2" />

</Universe>

Universe - Basic Example

When getting Identity Manager data in Power BI, we see the following: Universe (Display Names)

Basic universe with identifiers instead of display names

The following example builds a universe called Universe1 with identifiers as labels instead of display names:

&lt;Universe Identifier="Universe1" DisplayName_L1="Universe 1" <b>ColumnNamesMode="Identifier"</b> &gt;

&lt;EntityInstance Identifier="Directory_User" EntityType="Directory_User" DisplayName_L1="Users" /&gt;
&lt;EntityInstance Identifier="Directory_UserRecord" EntityType="Directory_UserRecord" DisplayName_L1="UserRecords" /&gt;

&lt;AssociationInstance Association="Directory_UserRecord_User_Records" Instance1="Directory_User" Instance2="Directory_UserRecord" Direction="From1To2" /&gt;

&lt;/Universe&gt;

Universe - Basic Example

When getting Identity Manager data in Power BI, we see the following: Universe (Identifiers)

Properties

PropertyDetails
ColumnNamesMode default value: DisplayNameType: UniverseColumnNamesMode Description: Type of label to be displayed as the column names in Power BI, for this universe. 0 - DisplayName: display name of entity instances. 1 - Identifier: identifier of entity instances.
DisplayName_L1 optionalType: String Description: Display name of the universe in language 1 (up to 16).
Identifier requiredType: String Description: Identifier of the universe.

Child Element: AssociationInstance

An association instance represents, within a universe, the occurrence in the model of an entity association.

Properties

PropertyDetails
Association requiredType: Int64 Description: Identifier of the entity association, in Identity Manager's entity model, that corresponds to the association instance.
Direction default value: 0Type: Direction Description: Direction of the association between the two entity instances. It must be the same direction as between the two entity types specified in these entity instances. 0 - Both directions. 1 - From the instance 1 to 2. 2 - From the instance 2 to 1.
Instance1 requiredType: Int64 Description: Identifier of the entity instance number one.
Instance2 requiredType: Int64 Description: Identifier of the entity instance number two.

Child Element: EntityInstance

An entity instance represents, within a universe, the occurrence in the model of an entity type.

Properties

PropertyDetails
DisplayName_L1 optionalType: String Description: Display name of the entity instance in language 1 (up to 16).
EntityType requiredType: Int64 Description: Identifier of the entity type, in Identity Manager's entity model, that corresponds to the entity instance.
FilterEntityProperty optionalType: Int64 Description: Entity property used as filter (FilterProperty must be a navigation property to EntityProperty)
FilterEntityType optionalType: Int64 Description: Entity type used as filter (FilterProperty must be a navigation property to EntityType)
FilterProperty optionalType: Int64 Description: Property used to filter entity type's instance.
FilterResourceType optionalType: Int64 Description: Resource type used as filter (FilterProperty must be a navigation property to ResourceType)
FilterValue optionalType: String Description: Constant value used as filter.
Identifier requiredType: String Description: Identifier of the entity instance.
IsHidden default value: falseType: Boolean Description: true if the entity instance is to be hidden in Power BI.