Forum Discussion

JezCunningham's avatar
JezCunningham
Copper Contributor
May 02, 2025
Solved

Convert PDF to Excel with Power Query: currency columns treated as text

When I import a PDF using Power Query the Amount column (e.g. £1.75) is interpreted as Text and I can't simply re-format it to Currency.  My dumb workaround is to copy column data & paste it somewher...
  • Kidd_Ip's avatar
    May 03, 2025

    Take this:

     

    1. Remove the Currency Symbol
      • In Power Query, select the column containing the currency values.
      • Use the Replace Values function to remove the "£" symbol by replacing it with an empty string ("").
    2. Convert the Column to a Number Type
      • After removing the currency symbol, change the column type to Decimal Number or Currency.
      • You can do this by selecting the column, then clicking Transform > Data Type > Decimal Number.
    3. Use a Formula in Power Query (M Code)
      = Number.From(Text.Remove([Amount], "£"))

       

Resources