Demystifying the Unicode() Function in Power BI


Power BI is a powerful business intelligence tool that enables users to visualize and analyse data from various sources. One of the key features that make Power BI versatile is its ability to handle different data types, including text data. When dealing with text data, it’s essential to understand how to manipulate and transform it effectively. In this blog post, we will explore the Unicode() function in Power BI, a valuable tool for working with text data.

Understanding Unicode

Unicode is a standard character encoding system that assigns a unique number, called a code point, to each character in nearly every script and language in the world. It ensures that text in any language can be encoded and displayed consistently across different platforms and systems. In Power BI, the Unicode() function is used to return the Unicode code point of a specified character.

Syntax of the Unicode() Function:

Unicode(text as text) as number

– `text`: This is the input text from which you want to retrieve the Unicode code point. It can be a single character or a longer text string.

How to Use the Unicode() Function

Let’s dive into some practical examples of how to use the Unicode() function in Power BI:

Example : Finding the Unicode Code Point of a Single Character

Suppose you have a single character, such as ‘A’, and you want to find its Unicode code point. You can use the Unicode() function as follows:


The function will return the Unicode code point for ‘A’, which is 65.

Example 2: Unicode for “—”


Unicode() in Power BI is great for text data. It helps with character analysis and finding Unicode code points. Use it for single characters or text strings. It boosts text data transformation and improves your Power BI reports.

Addend Analytics is a Microsoft Gold Partner based in Mumbai, India, and a branch office in the U.S.

Addend has successfully implemented 100+ Microsoft Power BI and Business Central projects for 100+ clients across sectors like Financial Services, Banking, Insurance, Retail, Sales, Manufacturing, Real estate, Logistics, and Healthcare in countries like the US, Europe, Switzerland, and Australia.

Get a free consultation now by emailing us or contacting us.