Character.FromNumber in Power Query to Convert Numbers to Unicode Character

Character.FromNumber is a useful function in Power Query that allows you to convert a number to its corresponding character in the Unicode character set. Character.FromNumber Syntax: Character.FromNumber(number as number) as text Arguments: Return value: Example Character.FromNumber: To convert the number 65 to its corresponding character, which is ‘A’, you would use the following formula in…

Splitting Text Strings with Power BI Text.SplitAny Function

Splitting Text Strings with Power BI Text.SplitAny Function

Text.SplitAny is a Power Query function that allows you to split a text string into multiple parts based on one or more delimiters. This is useful when you have a text string that contains multiple values, such as a comma-separated list, and you need to extract each value individually. Syntax The Text.SplitAny function takes three…

Text.TrimEnd Power Query to remove spaces from the end of string

Text.TrimEnd power query function helps us to remove spaces or any character from the end of the given string. It comes under the category of power query Text functions. It is a very helpful function for data cleaning. Syntax It takes two parameters. Text.TrimEnd Power Query Example We have some account numbers with additional spaces…

Text.TrimStart Power Query to remove leading zeros

Text.TrimStart Power Query to remove leading zeros

Text.TrimStart power query function helps us to remove the leading zeros from the given string. It comes under the category of Power query text functions. Syntax It takes two parameters. Text.TrimStart power query function Example Let’s take the following example in which we have some account numbers with leading zeros, and we want to remove…

Text.BeforeDelimiter Power Query function

Text.BeforeDelimiter Power Query function

Text.beforedelimiter is a power query function that returns the substring before a specific delimiter. It helps us to clean the data before importing it into Power BI. Syntax Text.BeforeDelimiter takes three parameters. The first two parameters are compulsory, and the third parameter is optional. Example Let’s take the following example to extract the substring using…