Text Functions Flashcards
EXACT(text1,text2)
Compares two text strings and returns TRUE if they are exactly the same, otherwise returns FALSE. EXACT is case-sensitive but ignores formatting differences. EXACT is case-sensitive
CONCATENATEX(table, expression[, delimiter [, orderBy_expression [, order]]…])
Concatenates the result of an expression evaluated for each row in a table.
VALUE(text)
Converts a text string that represents a number to a number.
UPPER (text)
Converts a text string to all uppercase letters.
FORMAT(value, format_string[, locale_name])
Converts a value to text according to the specified format.
LOWER(text)
Converts all letters in a text string to lowercase.
COMBINEVALUES(delimiter, expression, expression[, expression]…)
Joins two or more text strings into one text string. The primary purpose of this function is to support multi-column relationships in DirectQuery models. See Remarks for details.
CONCATENATE(text1, text2)
Joins two text strings into one text string.
TRIM(text)
Removes all spaces from text except for single spaces between words.
REPT(text, num_times)
Repeats text a given number of times. Use REPT to fill a cell with a number of instances of a text string.
REPLACE(old_text, start_num, num_chars, new_text)
REPLACE replaces part of a text string, based on the number of characters you specify, with a different text string.
SUBSTITUTE(text, old_text, new_text, instance_num)
Replaces existing text with new text in a text string.
MID(text, start_num, num_chars)
Returns a string of characters from the middle of a text string, given a starting position and length.
UNICODE( Text )
Returns the number (code point) corresponding to the first character of the text.
LEN(text)
Returns the number of characters in a text string.