Text.From

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns the text representation of a number, date, time, datetime, datetimezone, logical, duration or binary value. If a value is null, Text.From returns null. The optional culture parameter is used to format the text value according to the given culture.

Text.From(value as any, optional culture as nullable text) as nullable text  

ArgumentDescription
valueValue to convert.
optional cultureA text value corresponding to the culture values supported on your version of Windows, such as "en-US". If the culture is not specified, the current user culture is used. For a list of culture names, see National Language Support (NLS) API Reference.
Text.From(1) equals "1"  

Text.From(#date(2013,5,1)) equals "05/01/2013"  

Text.From(#date(2013,5,1),"fr-FR") equals "01/05/2013"  

Show: