
- DAX Functions Tutorial
- DAX Functions - Home
- DAX Functions - Introduction
- DAX Parameter Naming Conventions
- Description Structure
- DAX Functions - Aggregation
- DAX Functions - Filter
- DAX Functions - Time Intelligence
- DAX Functions - Date and Time
- DAX Functions - Information
- DAX Functions - Logical
- Math & Trigonometric Functions
- DAX Functions - Parent & Child
- DAX Functions - Statistical
- DAX Functions - Text
- DAX Functions - Other
- DAX Functions Useful Resources
- DAX Functions - Quick Guide
- DAX Functions - Useful Resources
- DAX Functions - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
DAX Text - CODE function
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