ISATLEVEL is a DAX function that reports whether a column is present at the current hierarchy level.
Syntax
ISATLEVEL( Column )
Argument | Properties | Description |
---|---|---|
Column | A column in the data grid. |
ISATLEVEL is a DAX function that reports whether a column is present at the current hierarchy level.
ISATLEVEL( Column )
Argument | Properties | Description |
---|---|---|
Column | A column in the data grid. |
TRUE
or FALSE
that indicates whether the grouping column is at the current level in the context.
Consider a table that includes a hierarchy with levels for total, year, quarter, and month. The following DAX calculations can be used to determine whether a specific column is at the current level in the original context or at the new level after a navigation operation.
IsYearLevel = ISATLEVEL([Fiscal Year])
IsQuarterLevel = ISATLEVEL([Fiscal Quarter])
IsMonthLevel = ISATLEVEL([Month])
IsQuarterLevelAfterExpand = EXPAND(ISATLEVEL([Fiscal Quarter]), ROWS)
IsQuarterLevelAfterCollapse = COLLAPSE(ISATLEVEL([Fiscal Quarter]), ROWS)
The screenshot below shows the matrix with the five visual calculations.
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy