Edit

INFO.CHANGEDPROPERTIES

Applies to: Calculated column Calculated table Measure Visual calculation DAX query

Returns a table with information about each changed property in the semantic model. This function provides metadata about properties that have been modified in the model.

Syntax

INFO.CHANGEDPROPERTIES ( [<Restriction name>, <Restriction value>], ... )

Parameters

Parameters are optional for this DAX function. When parameters are used, both must be given. More than one pair of parameters is allowed. The restriction name and value are text and entered in double-quotes.

Term Definition
Restriction name Name of the restriction used to filter the results.
Restriction value Value used to filter the results of the restriction.

Restrictions

Typically, all columns of the DAX function results can be used as a restriction. Additional restrictions may also be allowed.

Return value

A table with the following columns:

Column name Data type Description
[ID] Integer The unique identifier of the changed property
[ObjectID] Integer The identifier of the object that has the changed property
[ObjectType] Integer The type of object that has the changed property
[Property] String The name of the property that was changed

Remarks

  • Typically used in DAX queries to inspect and document model metadata.
  • Permissions required depend on the host. Querying full metadata may require model admin permissions.

Example

The following DAX query can be run in DAX query view:

EVALUATE
	INFO.CHANGEDPROPERTIES()

Example 2 - DAX query with joins

The following DAX query can be run in DAX query view:

EVALUATE
	VAR _ChangedProperties =
		INFO.CHANGEDPROPERTIES()

	VAR _Tables = 
		SELECTCOLUMNS(
			INFO.TABLES(),
			"ObjectID", [ID],
			"Object Name", [Name]
		)

	VAR _Columns = 
		SELECTCOLUMNS(
			INFO.COLUMNS(),
			"ObjectID", [ID],
			"Object Name", [ExplicitName]
		)

	VAR _AllObjects = 
		UNION(_Tables, _Columns)

	VAR _CombinedTable =
		NATURALLEFTOUTERJOIN(
			_ChangedProperties,
			_AllObjects
		)

	RETURN
		SELECTCOLUMNS(
			_CombinedTable,
			"Object Name", [Object Name],
			"Object Type", [ObjectType],
			"Changed Property", [Property]
		)
	ORDER BY [Object Name], [Changed Property]

See also