Short answer: the INFO functions return a model's metadata as DAX tables: INFO.VIEW.MEASURES ( ) lists every measure with its formula, description and format string; INFO.VIEW.TABLES, INFO.VIEW.COLUMNS and INFO.VIEW.RELATIONSHIPS do the same for tables, columns and relationships, with friendly names. Behind them are about 70 INFO.* functions based on Analysis Services' dynamic management views (DMVs), from INFO.CALCULATIONGROUPS to storage details. Run them in DAX query view; they need semantic model admin permissions (some also workspace admin). The four INFO.VIEW functions can also be used in calculated tables.
Documentation that lives outside the model goes stale. A query that reads the model itself is always current: paste it into DAX query view and copy the result into your wiki.
Which INFO functions matter most?
| Function | Returns |
|---|---|
| INFO.VIEW.TABLES ( ) | tables with name, description, storage mode, hidden |
| INFO.VIEW.COLUMNS ( ) | columns with table, data type, hidden, format |
| INFO.VIEW.MEASURES ( ) | measures with table, formula, description, format string, hidden, state |
| INFO.VIEW.RELATIONSHIPS ( ) | relationships with from and to columns, cardinality, direction, active |
| INFO.CALCULATIONGROUPS ( ), INFO.CALCULATIONITEMS ( ) | calculation groups and their items |
| INFO.ROLES ( ), INFO.TABLEPERMISSIONS ( ) | security roles and their filters |
| INFO.USERDEFINEDFUNCTIONS ( ) | user-defined functions |
| INFO.CALENDARS ( ) | calendars for calendar-based time intelligence |
| INFO.STORAGETABLECOLUMNSEGMENTS ( ) | storage segments of in-memory columns |
| INFO.CALCDEPENDENCY ( ) | which objects depend on which |
Which queries are useful?
-- 1 a documentation table of all measures
EVALUATE
SELECTCOLUMNS (
INFO.VIEW.MEASURES ( ),
"Table", [Table],
"Measure", [Name],
"Formula", [Expression],
"Description", [Description]
)
ORDER BY [Table], [Measure]-- 2 measures without a description
EVALUATE
FILTER ( INFO.VIEW.MEASURES ( ), ISBLANK ( [Description] ) || [Description] = "" )-- 3 bidirectional or inactive relationships to review
EVALUATE
FILTER (
INFO.VIEW.RELATIONSHIPS ( ),
[CrossFilteringBehavior] = "BothDirections" || NOT [IsActive]
)-- 4 objects that depend on a measure
EVALUATE
FILTER (
INFO.CALCDEPENDENCY ( ),
[REFERENCED_OBJECT] = "Revenue"
)Column names differ between functions (INFO.VIEW uses friendly names, the raw INFO functions use the DMV schema), so check the result columns once with EVALUATE INFO.VIEW.RELATIONSHIPS ( ) and adapt the filters; the names above may need adjusting to your version.
Can you use them in the model?
Microsoft lists the four INFO.VIEW functions as usable in calculations, including calculated tables. A calculated table Measures Doc = INFO.VIEW.MEASURES ( ) makes the documentation part of the model, refreshed with it, and a report page can show it. The other INFO functions are for queries.
What goes wrong?
- Permissions. Viewers cannot run them; they need semantic model admin rights (some workspace admin).
- Unsupported features. An
INFOfunction for a feature the model does not support may error. - Column names. Raw
INFOfunctions use IDs (TableID) instead of names; useINFO.VIEWor join them. - Live connections. You read the remote model's metadata only with the needed rights.
Where can you check this?
- Microsoft Learn: INFO functions (DAX)
- Microsoft Learn: INFO.VIEW.MEASURES function (DAX)
- Microsoft Learn: Work with DAX query view
Where do you start?
Run query 1 in DAX query view, copy the result into your team's documentation, and run query 2 to find measures that need a description. Information functions are the other, value-level "IS" functions.