DAX Text - CODE function
Advertisements
Description
Returns a numeric code for the first character in a text string. The returned code corresponds to the character set used by your computer. For Windows Operating System, ANSI character set is used.
Syntax
CODE (<text>)
Parameters
Sr.No. | Parameter & Description |
---|---|
1 |
text The text for which you want the code of the first character. |
Return Value
A numeric code for the first character in the specified text string.
Example
= CODE (“Results”) returns the ANSI code of ‘R’, which is 82.
dax_functions_text.htm
Advertisements