INFO.COLUMNS DAX function in Power BI

The INFO.COLUMNS() function in DAX (Data Analysis Expressions) is a metadata function within the INFO family, designed to provide detailed information about the columns in a tabular data model.

INFO.COLUMNS() generates a table where each row represents a single column in the model, and the columns of this table provide metadata about those model columns.

Syntax INFO.COLUMNS()

Since INFO.COLUMNS() returns a table, it is typically used within a DAX query with the EVALUATE statement. For example:

DAX

EVALUATE INFO.COLUMNS()

When executed, this query returns a table listing all columns in the model along with their metadata.

INFO.COLUMNS DAX function in Power BI

Returned Columns Some of the returned columns are described below:

Use Cases

Combining with Other Functions We can combine INFO.TABLES() with other DAX functions to refine the output. For example:

DAX

EVALUATE
FILTER(
    INFO.COLUMNS(),
    [IsHidden] = TRUE()
)         

This query returns only the hidden columns in the model.