Power Query M code
let
Source = YourTable,
ChangedType = Table.TransformColumnTypes(Source, {{"ColumnName", type number}})
in
ChangedType
Converts a text column containing numeric values into a proper Number type.
let
Source = YourTable,
ChangedType = Table.TransformColumnTypes(Source, {{"ColumnName", type number}})
in
ChangedType
If the text uses a different decimal separator, pass a locale as the third argument, e.g. Table.TransformColumnTypes(Source, {{"ColumnName", type number}}, "en-US").
Browse all 145 snippets in the Power Query M Code Snippets, or search the library for something similar to Convert a Text Column to Number.