Forum Discussion
Error converting percentages
- Anonymous5 years ago
Your column is not converted to a number type, it's still type any. As long as you have the header row in your data instead of promoting them to headers. Ideally you'd format the Excel data as a table, and then no work would even be necessary, except to click the Get Data From Table/Range button.
Once you Promote those headers, you can probably use:
Fixed = Table.TransformColumns(PriorStep, {{"Premium % Change", Number.FromText}})
--Nate
Your column is not converted to a number type, it's still type any. As long as you have the header row in your data instead of promoting them to headers. Ideally you'd format the Excel data as a table, and then no work would even be necessary, except to click the Get Data From Table/Range button.
Once you Promote those headers, you can probably use:
Fixed = Table.TransformColumns(PriorStep, {{"Premium % Change", Number.FromText}})
--Nate