SELECTEDMEASURE DAX Function (Information)

Returns the measure that is currently being evaluated.

Syntax

SELECTEDMEASURE ( )

This expression has no parameters.

Return values

Scalar A single value of any type.

A reference to the measure that is currently in context when the calculation item is evaluated.

Related articles

Learn more about SELECTEDMEASURE in the following articles:

  • Introducing Calculation Groups

    This article is the first of a series dedicated to calculation groups in DAX. This introduction explains the capabilities of this feature and how to create calculation groups in a Tabular model. » Read more

  • Understanding Calculation Groups

    This article explores the properties of calculation groups in detail and then it describes how a calculation item is applied to a measure. Before starting, we suggest you read the previous article that introduces calculation groups. » Read more

  • Understanding the Application of Calculation Items

    This article explains how calculation items are applied to measure references, and it is part of a series dedicated to calculation groups in DAX. Before starting, we suggest you read the previous articles in this series. » Read more

  • Understanding Calculation Group Precedence

    This article explains the precedence of calculation groups in DAX, needed whenever multiple calculation groups are present within the same model. Before starting, we suggest you read the previous articles in this series. » Read more

Related functions

Other related functions are:

Last update: Jan 24, 2020   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

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

DAX Conventions
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.

Contribute

Want to improve the content of SELECTEDMEASURE? 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.