How to format Phone Numbers? - Power BI Set automatic detection of data type and column headers, = Table.TransformColumnTypes(#"Promoted Headers,{{"OrderID", type number}, {"CustomerID", type text}, {"EmployeeID", type number}, {"OrderDate", type date}, {"RequiredDate", type date}, {"ShipName", type text}}), = Table.TransformColumnTypes(Source,{{"OrderID", type number}, {"CustomerID", type text}, {"EmployeeID", type number}, {"OrderDate", type date}, {"RequiredDate", type date}, {"ShipName", type text}}), Create, load, or edit a query in Excel (Power Query), Set a locale or region for data (Power Query). It's always recommended to filter your data in the early stages of your query or as early as possible. Learn how to change text case between lower, upper and proper case in Excel using Excel functions, flash fill, power query, DAX and power pivot. Data type detection occurs automatically when connecting to: Structured data sources such as databases, Power Query reads the table schema from the data source and automatically displays the data by using the correct data type for each column. Returns an hour value from a DateTime value. Then, select the orignial text column, right click to choose Change Type -> Using locale. The data might contain up to 3 product ID's and will have some form of a revenue column heading so our list should include Trans Date, Product ID 1, Product ID 2 and Product ID 3, Quantity and Revenue as potential column headings. Then, select the orignial text column, right click to choose Change Type -> Using locale You should set a proper format for the original data. You need this as for some reason Excel doesn't allow to change data source from table/range to a connection. First, we're going to initially split the column by delimiter. Please try this approach in a DAX column, using your table/column names. Assuming that your Phonen umber is "111222333", you want to have the format of "111-222-3333".