Data Analysis Expressions (DAX) includes a set of text functions based on the library of string functions in Excel, but which have been modified to work with tables and columns in tabular models. This section describes text functions available in the DAX language.
In this category
|Joins two or more text strings into one text string.
|Joins two text strings into one text string.
|Concatenates the result of an expression evaluated for each row in a table.
|Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise.
|Returns the starting position of one text string within another text string.
|Rounds a number to the specified number of decimals and returns the result as text.
|Converts a value to text according to the specified format.
|Returns the specified number of characters from the start of a text string.
|Returns the number of characters in a text string.
|Converts all letters in a text string to lowercase.
|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, based on the number of characters you specify, with a different text string.
|Repeats text a given number of times.
|RIGHT returns the last character or characters in a text string, based on the number of characters you specify.
|Returns the number of the character at which a specific character or text string is first found, reading left to right.
|Replaces existing text with new text in a text string.
|Removes all spaces from text except for single spaces between words.
|Returns the Unicode character referenced by the numeric value.
|Returns the numeric code corresponding to the first character of the text string.
|Converts a text string to all uppercase letters.
|Converts a text string that represents a number to a number.