Value functions

Value functions functions for Power Query M language.

Functions

FunctionDescription
DirectQueryCapabilities.FromThis function is designed to be used only within the organization.
Embedded.ValueRetrieves a specific value from an embedded mashup using its corresponding name.
Excel.ShapeTableThis function is designed to be used only within the organization.
Graph.NodesThis function is designed to be used only within the organization.
Progress.DataSourceProgressThis function is designed to be used only within the organization.
SqlExpression.SchemaFromThis function is designed to be used only within the organization.
SqlExpression.ToExpressionThis function is designed for internal use only and is responsible for converting the given SQL query into M code using the identifiers available in the environment.
Value.AddThis function calculates the addition of value1 and value2. Users have the option to specify a precision parameter, with the default being Precision.Double.
Value.AlternatesThis function demonstrates different ways to execute queries within a query plan expression obtained using Value.Expression(Value.Optimize(...)). It should not be used for other purposes.
Value.AsThis function will provide the value if it is suitable for the specified type. It works similarly to the "as" operator in M, but with the added capability of accepting identifier type references like ...
Value.CompareReturns a value of 1, 0, or -1 depending on whether value1 is greater than, equal to, or less than value2. It is possible to include a comparer function if desired.
Value.DivideThis function calculates the quotient of value1 divided by value2. Users have the option to specify a precision parameter, with the default precision being set to Precision.Double.
Value.EqualsThis function will return true if the value of value1 is equal to the value of value2, and false if they are not equal.
Value.ExpressionIt retrieves an abstract syntax tree (AST) that illustrates the expression of the value.
Value.FirewallThis function is designed to be used only within the organization.
Value.FromTextThe function Value.FromText converts a value from its textual form to a specific data type. It can interpret the input text as a number, logical value, null value, datetime value, duration value, or t...
Value.IsThis function checks if a value is suitable for a specific type. It performs a similar action to the "is" operator in M language, but with the added ability to recognize identifier type references lik...
Value.LineageThis function is designed to be used only within the organization.
Value.MetadataReturns a set of information about the input provided.
Value.MultiplyThis function calculates the result of multiplying value1 by value2. Users can also specify a precision parameter, which defaults to Precision.Double if not specified.
Value.NativeQueryAssesses the query against a specified target using the parameters and options provided. The result of the query is determined by the target, which sets the context for the query operation. The query ...
Value.NullableEqualsIf either value1 or value2 is null, the function will return null. Otherwise, it will behave in the same way as the Value.Equals function.
Value.OptimizeWhen utilized in Value.Expression, if the value denotes a query that is optimizable, this function specifies that the optimized expression should be delivered. If the value does not represent an optim...
Value.RemoveMetadataThis function eliminates the metadata associated with the value and outputs the initial value.
Value.ReplaceMetadataUpdates the metadata associated with a specific value by replacing it with the new metadata record provided. The original value is then returned with the updated metadata appended to it.
Value.ReplaceTypeChanges the data type of the value to the specified type.
Value.SubtractThis function calculates the numerical difference between two values, value1 and value2. Users have the option to specify the level of precision they desire. If no precision is specified, the default ...
Value.TraitsThis function is designed to be used only within the organization.
Value.TypeThis function will provide information on the data type of the specified value.
Value.VersionIdentityThis function will provide the version number of the value, or return null if the value does not have a version.
Value.VersionsGenerates a navigation table that displays the different versions of the value that are available.
Value.ViewErrorThis function is designed to be used only within the organization.
Value.ViewFunctionThis function is designed to be used only within the organization.
Variable.ValueThis function is designed to be used only within the organization.