ISINSCOPE DAX Function (Information)

Returns true when the specified column is the level in a hierarchy of levels.

Syntax

ISINSCOPE ( <ColumnName> )
Parameter Attributes Description
ColumnName

The column of the level.

Return values

Scalar A single boolean value.

Returns TRUE if the column is in included in the filter context and it is a grouping column for the current row in the result set.

Remarks

ISINSCOPE checks if the column has only one value in the current filter context and there is a filter placed on the column derived either from context transition or from a group by column placed by SUMMARIZECOLUMNS.

When ISINSCOPE returns TRUE, then also HASONEVALUE returns TRUE.

Related articles

Learn more about ISINSCOPE in the following articles:

Related functions

Other related functions are:

Last update: Jan 11, 2021   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

MSDN documentation: https://docs.microsoft.com/en-us/dax/isinscope-function-dax

2018-2021 © SQLBI. All rights are reserved. Information coming from MSDN is property of Microsoft Corp. » Contact us   » Privacy Policy & Cookies

Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

Row Context

This expression is executed in a Row Context. Click to read more.

Iterator

Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

Not recommended

The use of this parameter is not recommended.

Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

Deprecated

This parameter is deprecated and its use is not recommended.

DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

Contribute

Want to improve the content of ISINSCOPE? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.