Text.splitany power query 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

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

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…