Text Functions

Text functions manipulate strings.

Function Description
COMBINEVALUES Combines the given set of operands using a specified delimiter.
CONCATENATE Joins two text strings into one text string.
CONCATENATEX Evaluates expression for each row on the table, then return the concatenation of those values in a single string result, seperated by the specified delimiter.
EXACT Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive.
FIND Returns the starting position of one text string within another text string. FIND is case-sensitive and accent-sensitive.
FIXED Rounds a number to the specified number of decimals and returns the result as text with optional commas.
FORMAT Converts a value to text in the specified number format.
LEFT Returns the specified number of characters from the start of a text string.
LEN Returns the number of characters in a text string.
LOWER Converts all letters in a text string to lowercase.
MID Returns a string of characters from the middle of a text string, given a starting position and length.
REPLACE Replaces part of a text string with a different text string.
REPT Repeats text a given number of times. Use REPT to fill a cell with a number of instances of a text string.
RIGHT Returns the specified number of characters from the end of a text string.
SEARCH Returns the starting position of one text string within another text string. SEARCH is not case-sensitive, but it is accent-sensitive.
SUBSTITUTE Replaces existing text with new text in a text string.
TRIM Removes all spaces from a text string except for single spaces between words.
UNICHAR Returns the Unicode character that is referenced by the given numeric value.
UNICODE Returns the number (code point) corresponding to the first character of the text.
UPPER Converts a text string to all uppercase letters.
VALUE Converts a text string that represents a number to a number.

Last update: Jun 13, 2021   » Contribute   » Show contributors

Contributors: Alberto Ferrari, Marco Russo

2018-2021 © SQLBI. All rights are reserved. Information coming from Microsoft documentation 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.


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.


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


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.


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