INFO.CATALOGS DAX Function (Information)
Returns a list of all catalogs (databases) with columns matching the schema rowset for catalog objects.
Syntax
| Parameter | Attributes | Description |
|---|---|---|
| RestrictionName | Optional Repeatable |
Restriction name. |
| RestrictionValue | Optional Repeatable |
Restriction value. |
Return values
A table with one row for each database (catalog). The columns match the DBSCHEMA_CATALOGS DMV.
| Field | Type |
|---|---|
| CATALOG_NAME | String |
| DESCRIPTION | String |
| ROLES | String |
| DATE_MODIFIED | DateTime |
| COMPATIBILITY_LEVEL | Integer |
| TYPE | Integer |
| VERSION | Integer |
| DATABASE_ID | String |
| DATABASE_GUID | String |
| DATE_QUERIED | DateTime |
| CURRENTLY_USED | Boolean |
| POPULARITY | Decimal |
| WEIGHTEDPOPULARITY | Decimal |
| CLIENTCACHEREFRESHPOLICY | Integer |
| ENCRYPTION_LEVEL | String |
| CRYPTOKEY_UPDATED | DateTime |
Remarks
Corresponds to the DBSCHEMA_CATALOGS 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, without arguments. The function does not accept restrictions. CATALOG_NAME is a known restriction name, but the function returns an error when you use it. The other column names are not valid restriction names, and they also return an error.
The function returns one row for each database (catalog). In the test model, the result has only one row, for the current database. CATALOG_NAME is the name of the database, and COMPATIBILITY_LEVEL is the compatibility level of the model. The column names are in upper case because the result comes from a schema rowset (DBSCHEMA_CATALOGS) and not from a TMSCHEMA DMV.
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.CATALOGS returns one row for each database (catalog).
-- The query shows the name, the compatibility level, and the roles of the database.
EVALUATE
SELECTCOLUMNS (
INFO.CATALOGS (),
"Database", [CATALOG_NAME],
"Compatibility level", [COMPATIBILITY_LEVEL],
"Roles", [ROLES],
"Currently used", [CURRENTLY_USED]
)
| Database | Compatibility level | Roles | Currently used |
|---|---|---|---|
| DAX Guide | 1701 | * | True |
Last update: Dec 1, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/info-catalogs-function-dax