INFO.DEPENDENCIES DAX Function (Information)
Returns information about the calculation dependency for a DAX query.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
| RestrictionName | Optional Repeatable |
Restriction name. |
| RestrictionValue | Optional Repeatable |
Restriction value. |
Return values
A table with one row for each dependency between two objects of the model. The columns match the DISCOVER_CALC_DEPENDENCY DMV.
| Field | Type |
|---|---|
| DATABASE_NAME | String |
| OBJECT_TYPE | String |
| TABLE | String |
| OBJECT | String |
| EXPRESSION | String |
| REFERENCED_OBJECT_TYPE | String |
| REFERENCED_TABLE | String |
| REFERENCED_OBJECT | String |
| REFERENCED_EXPRESSION | String |
| QUERY | String |
Remarks
Corresponds to the DISCOVER_CALC_DEPENDENCY data management view (DMV).
As all the INFO functions, it cannot be used in calculated tables and calculated columns.
Use this function in a DAX query. INFO.DEPENDENCIES returns the same result as INFO.CALCDEPENDENCY, and an error message about the arguments uses the name INFO.CALCDEPENDENCY. Without arguments, the function returns the dependencies of all the objects in the model. Each row shows an object (OBJECT_TYPE, TABLE, OBJECT, EXPRESSION) and one object that it uses (the REFERENCED columns), as in the example. In the test model, OBJECT_TYPE can be MEASURE, CALC_COLUMN, CALCULATION_ITEM, PARTITION, HIERARCHY, ATTRIBUTE_HIERARCHY, RELATIONSHIP and ACTIVE_RELATIONSHIP. For a relationship, OBJECT is the ID of the relationship, not a name.
You can pass pairs of arguments with the name of a restriction and its value, both as text. Only three restriction names are valid: DATABASE_NAME, OBJECT_TYPE and QUERY. The other columns of the result return an error when you use them as restriction names. The restriction name is not case sensitive, but the value of OBJECT_TYPE must be in upper case. For example, INFO.DEPENDENCIES ( “OBJECT_TYPE”, “MEASURE” ) returns only the dependencies of measures, and INFO.DEPENDENCIES ( “OBJECT_TYPE”, “measure” ) returns an error. The number of arguments must be even.
With the QUERY restriction, the value is the text of a DAX query, and the function returns the objects that the query uses. In these rows, OBJECT_TYPE is QUERY and OBJECT is BLANK. The text must be a valid DAX query that uses existing objects, or the function returns an error. To write a double quote inside the text, use two double quotes. The result can also contain internal columns of the engine, for example the column that starts with RowNumber.
According to Microsoft documentation, only users with write permission on the semantic model can run this function, and it does not work in a live connection to a model in Power BI Desktop.
Examples
-- INFO.DEPENDENCIES returns one row for each dependency between two objects of the model.
-- The query shows the objects that use a column or a measure of the Sales table.
-- The REFERENCED columns describe the object that is used.
EVALUATE
VAR Result =
SELECTCOLUMNS (
FILTER (
INFO.DEPENDENCIES (),
[REFERENCED_TABLE] = "Sales"
&& [REFERENCED_OBJECT_TYPE] IN { "COLUMN", "MEASURE" }
),
"Object type", [OBJECT_TYPE],
"Table", [TABLE],
"Object", [OBJECT],
"Uses", [REFERENCED_OBJECT_TYPE],
"Used object", [REFERENCED_OBJECT]
)
RETURN
Result
ORDER BY [Used object], [Object type], [Object]
| Object type | Table | Object | Uses | Used object |
|---|---|---|---|---|
| ACTIVE_RELATIONSHIP | Sales | deca5bcb-ea8f-467a-b790-fa78ea247d57 | COLUMN | CustomerKey |
| CALC_COLUMN | Sales | Order Time | COLUMN | CustomerKey |
| RELATIONSHIP | Sales | cdc1f678-516d-402a-8bd3-13b1df211879 | COLUMN | Delivery Date |
| MEASURE | Sales | Sales Amount | COLUMN | Net Price |
| ACTIVE_RELATIONSHIP | Sales | 8c8b00e4-961a-489c-9a8b-812542526d79 | COLUMN | Order Date |
| CALCULATION_ITEM | Time calc | Growth | MEASURE | Pct over all prods |
| ACTIVE_RELATIONSHIP | Sales | 930316a3-701f-46ba-8e96-262c3375b3c9 | COLUMN | ProductKey |
| CALC_COLUMN | Sales | Order Time | COLUMN | ProductKey |
| ACTIVE_RELATIONSHIP | Sales | 2ea9d16c-6bf3-4169-92f2-16b3d4c7e1b5 | COLUMN | PromotionKey |
| MEASURE | Sales | Sales Amount | COLUMN | Quantity |
| MEASURE | Sales | Total Quantity | COLUMN | Quantity |
| MEASURE | Sales | Pct over all prods | MEASURE | Sales Amount |
| MEASURE | Sales | Scaled Sales Amount | MEASURE | Sales Amount |
| ACTIVE_RELATIONSHIP | Sales | 56488b0e-a821-4cfc-bdd3-8cc68f36b536 | COLUMN | StoreKey |
| CALC_COLUMN | Sales | Order Time | COLUMN | StoreKey |
Last update: Dec 3, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/info-dependencies-function-dax